[tor-commits] [tor/master] Teach Doxygen to handle MOCK_{DECL, IMPL}
nickm at torproject.org
nickm at torproject.org
Thu Oct 17 12:25:20 UTC 2019
commit 2329f8a28cc8c7576f2bcbefeefed530625aff4e
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Oct 16 10:59:29 2019 -0400
Teach Doxygen to handle MOCK_{DECL,IMPL}
---
Doxyfile.in | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Doxyfile.in b/Doxyfile.in
index 8e39e0f16..5767b6104 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
More information about the tor-commits
mailing list