diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-16 10:59:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-16 10:59:29 -0400 |
commit | 2329f8a28cc8c7576f2bcbefeefed530625aff4e (patch) | |
tree | 67ae53a0da0311f9b09abe20771a7969a772bec3 /Doxyfile.in | |
parent | 87afe5c2608cc5d4c7a5629024777cee629a0f78 (diff) | |
download | tor-2329f8a28cc8c7576f2bcbefeefed530625aff4e.tar.gz tor-2329f8a28cc8c7576f2bcbefeefed530625aff4e.zip |
Teach Doxygen to handle MOCK_{DECL,IMPL}
Diffstat (limited to 'Doxyfile.in')
-rw-r--r-- | Doxyfile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doxyfile.in b/Doxyfile.in index 8e39e0f167..5767b61043 100644 --- a/Doxyfile.in +++ b/Doxyfile.in @@ -2066,7 +2066,7 @@ ENABLE_PREPROCESSING = YES # The default value is: NO. # This tag requires that the tag ENABLE_PREPROCESSING is set 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 @@ -2074,7 +2074,7 @@ MACRO_EXPANSION = NO # The default value is: NO. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -EXPAND_ONLY_PREDEF = NO +EXPAND_ONLY_PREDEF = YES # If the SEARCH_INCLUDES tag is set to YES, the include files in the # INCLUDE_PATH will be searched if a #include is found. @@ -2106,7 +2106,8 @@ INCLUDE_FILE_PATTERNS = # recursively expanded use the := operator instead of the = operator. # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. -PREDEFINED = +PREDEFINED = "MOCK_IMPL(a,b,c)=a b c" \ + "MOCK_DECL(a,b,c)=a b c" # 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. The |