aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrysn2012-02-27 14:14:22 +0100
committerchrysn2012-02-27 14:14:22 +0100
commitf52b1a56b076853cec95e848260d3ea83bae91ff (patch)
tree56e09a6f17cf5a16280e8a99d22910cf697f0125
parentd6a314bed737d3f4142f814454d5462f842f1e4f (diff)
make doxygen ignore __attribute__
doxygen doesn't understand __attribute__ and constructs bogus call graphs and dependencies from it. according to the doxygen maintainer[1], this is the way to deal with it. [1] http://sourceforge.net/mailarchive/message.php?msg_id=20085215
-rw-r--r--Doxyfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doxyfile b/Doxyfile
index 70147a7..beb5dda 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -1413,13 +1413,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
# pointed to by INCLUDE_PATH will be searched when a #include is found.
@@ -1447,7 +1447,7 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
-PREDEFINED =
+PREDEFINED = __attribute__(x)=
# 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.