summaryrefslogtreecommitdiffstats
path: root/doc/preprocessing.doc
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-03-24 11:51:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-03-24 11:51:51 (GMT)
commitdeaa34e0c1d990f37fe00e465ac7a22f705904f0 (patch)
tree8d5749ba8d587d7b753162c524b18f7e7cdf6a0b /doc/preprocessing.doc
parentaacd1557af129e2bff3514169e04168376a2431b (diff)
downloadDoxygen-deaa34e0c1d990f37fe00e465ac7a22f705904f0.zip
Doxygen-deaa34e0c1d990f37fe00e465ac7a22f705904f0.tar.gz
Doxygen-deaa34e0c1d990f37fe00e465ac7a22f705904f0.tar.bz2
Release-1.8.3.1-20130324
Diffstat (limited to 'doc/preprocessing.doc')
-rw-r--r--doc/preprocessing.doc11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/preprocessing.doc b/doc/preprocessing.doc
index aac389e..f480780 100644
--- a/doc/preprocessing.doc
+++ b/doc/preprocessing.doc
@@ -96,6 +96,15 @@ PREDEFINED = __declspec(x)=
This will make sure the __declspec(dllexport) is removed before doxygen
parses the source code.
+Similar settings can be used for removing __attribute__ expressions from the input:
+
+\verbatim
+ENABLE_PREPROCESSING = YES
+MACRO_EXPANSION = YES
+EXPAND_ONLY_PREDEF = YES
+PREDEFINED = __attribute__(x)=
+\endverbatim
+
For a more complex example, suppose you have the following obfuscated
code fragment of an abstract base class called \c IUnknown:
@@ -256,7 +265,7 @@ preprocessing has been done (Hint: set <code>QUIET = YES</code> and
output).
\htmlonly
-Go to the <a href="external.html">next</a> section or return to the
+Go to the <a href="autolink.html">next</a> section or return to the
<a href="index.html">index</a>.
\endhtmlonly