Closed
Description
status NEW severity normal in component general for ---
Reported in version 1.5.5 on platform Other
Assigned to: Dimitri van Heesch
Original attachment names and IDs:
On 2008-11-05 19:23:14 +0000, Martin Baeuml wrote:
If a macro A is used inside another macro B, A is expanded even if
EXPAND_ONLY_PREDEF = YES and A is not in the predefined list.
Example (see also attached files):
#define AUTO 1
#define DEFAULT(x) = x
int test_function(int p DEFAULT(AUTO));
expected documentation:
int test_function(int p = AUTO);
wrongly generated documentation:
int test_function(int p = 1);
with doxygen settings
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
EXPAND_AS_DEFINED = DEFAULT
On 2008-11-05 19:24:52 +0000, Martin Baeuml wrote:
Created attachment 122050
test case
On 2008-11-05 19:25:13 +0000, Martin Baeuml wrote:
Created attachment 122051
Doxyfile for test case