From 7c73a1b6bd864b1e297e8d65f21e6f82303dddab Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 2 Nov 2019 22:49:47 +0000 Subject: [PATCH] xrt: Tidy xrt_compiler.h and silence some doxygen warnings --- src/xrt/include/xrt/xrt_compiler.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/xrt/include/xrt/xrt_compiler.h b/src/xrt/include/xrt/xrt_compiler.h index a8ab6d0b1..4d5468d86 100644 --- a/src/xrt/include/xrt/xrt_compiler.h +++ b/src/xrt/include/xrt/xrt_compiler.h @@ -54,13 +54,14 @@ #endif +#ifdef XRT_DOXYGEN /*! - * @define XRT_DEBUGBREAK() * To trigger a trap/break in the debugger. * * @ingroup xrt_iface */ -#if defined(__clang__) || defined(__GNUC__) +#define XRT_DEBUGBREAK() +#elif defined(__clang__) || defined(__GNUC__) #define XRT_DEBUGBREAK() __builtin_trap() #elif defined(_MSC_VER) #include @@ -81,8 +82,6 @@ #endif /*! - * @define container_of(ptr, type, field) - * * Get the holder from a pointer to a field. * * @ingroup xrt_iface