From d0d2e6a505cddf6977ac1c9dc5d38c5aeaecfeed Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Tue, 5 Nov 2013 12:09:12 +0100 Subject: [PATCH] doc: fix doxygen parsing of __attribute__ Ignore __attribute__ because it was wrongly parsed as an identifier. This configuration is described in http://www.stack.nl/~dimitri/doxygen/manual/preprocessing.html Reported-by: Cyril Cressent Signed-off-by: Thomas Monjalon Acked-by: Olivier Matz --- doc/doxy-api.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/doxy-api.conf b/doc/doxy-api.conf index 7ea692a463..749db78262 100644 --- a/doc/doxy-api.conf +++ b/doc/doxy-api.conf @@ -47,9 +47,13 @@ INPUT = doc/doxy-api-index.md \ FILE_PATTERNS = rte_*.h \ cmdline.h PREDEFINED = __DOXYGEN__ \ + __attribute__(x)= \ RTE_MBUF_SCATTER_GATHER OPTIMIZE_OUTPUT_FOR_C = YES +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = YES EXTRACT_STATIC = YES HIDE_UNDOC_MEMBERS = YES HIDE_UNDOC_CLASSES = YES -- 2.20.1