[PATCH 3/3] doxygen: expand specified compiler macros to empty string, so they are ignored by doxygen

Jan Dolezal dolezj21 at fel.cvut.cz
Wed Dec 3 23:56:40 UTC 2014


---
 cpukit/Doxyfile.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/cpukit/Doxyfile.in b/cpukit/Doxyfile.in
index 4a6ee55..e4b681f 100644
--- a/cpukit/Doxyfile.in
+++ b/cpukit/Doxyfile.in
@@ -1267,13 +1267,13 @@ ENABLE_PREPROCESSING   = YES
 # compilation will be performed. Macro expansion can be done in a controlled
 # way by setting EXPAND_ONLY_PREDEF to YES.
 
-MACRO_EXPANSION        = NO
+MACRO_EXPANSION        = YES
 
 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
 # then the macro expansion is limited to the macros specified with the
 # PREDEFINED and EXPAND_AS_DEFINED tags.
 
-EXPAND_ONLY_PREDEF     = NO
+EXPAND_ONLY_PREDEF     = YES
 
 # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
 # in the INCLUDE_PATH (see below) will be search if a #include is found.
@@ -1305,7 +1305,8 @@ PREDEFINED             = FALSE=0 \
                          CPU_USE_GENERIC_BITFIELD_DATA=0 \
                          __attribute__(x)= \
                          RTEMS_COMPILER_NO_RETURN_ATTRIBUTE= \
-                         RTEMS_COMPILER_DEPRECATED_ATTRIBUTE=
+                         RTEMS_COMPILER_DEPRECATED_ATTRIBUTE= \
+                         RTEMS_COMPILER_PACKED_ATTRIBUTE=
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
 # this tag can be used to specify a list of macro names that should be expanded.
-- 
1.9.1




More information about the devel mailing list