[tor-commits] [tor/master] Tell doxygen not to pay attention to __attribute__.

nickm at torproject.org nickm at torproject.org
Thu Oct 17 12:25:20 UTC 2019


commit 85accdf00a49dc64894383292026dc538f4b2042
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 16 11:02:49 2019 -0400

    Tell doxygen not to pay attention to __attribute__.
---
 Doxyfile.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Doxyfile.in b/Doxyfile.in
index 5767b6104..eedb6a433 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -2107,7 +2107,9 @@ INCLUDE_FILE_PATTERNS  =
 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
 
 PREDEFINED             = "MOCK_IMPL(a,b,c)=a b c" \
-                         "MOCK_DECL(a,b,c)=a b c"
+                         "MOCK_DECL(a,b,c)=a b c" \
+                         __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. The





More information about the tor-commits mailing list