[rtems commit] doxygen: expand specified compiler macros to empty string, so they are ignored by doxygen

Gedare Bloom gedare at rtems.org
Thu Dec 4 18:37:50 UTC 2014


Module:    rtems
Branch:    master
Commit:    4251b88736400d6367be6a51218eee4277b5e34b
Changeset: http://git.rtems.org/rtems/commit/?id=4251b88736400d6367be6a51218eee4277b5e34b

Author:    Jan Dolezal <dolezj21 at fel.cvut.cz>
Date:      Thu Dec  4 00:56:40 2014 +0100

doxygen: expand specified compiler macros to empty string, so they are ignored by doxygen

---

 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.



More information about the vc mailing list