diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2013-12-17 18:13:29 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2013-12-17 18:15:25 +0100 |
commit | af517203d3dd9fc627106bc9ea80f329e749a3a5 (patch) | |
tree | 381274a88d947c6988368734dc60ca81e34fe3da | |
parent | ff628ee8ac783adc195e52ef0a62f1460415efbb (diff) |
doc: Fox Doxygen to filter out __attribute__ from source before parsing
Turns out Doxygen doesn't like those we use the pre-processor to filter
them out (only for Doxygen)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | Doxyfile.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doxyfile.in b/Doxyfile.in index 9ed9ac6..417fefe 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -1406,20 +1406,20 @@ PERLMOD_MAKEVAR_PREFIX = # evaluate all C-preprocessor directives found in the sources and include # files. -ENABLE_PREPROCESSING = NO +ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # 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. |