forked from qt-creator/qt-creator
This rewrite fixes a couple of issues with the pre-processor. It now supports: - macros in macro bodies - stringification of parameters [cpp.stringize] - the concatenation operator [cpp.concat] - #include MACRO_HERE - defined() inside macro bodies used in pp-conditions. Change-Id: Ifdb78041fb6afadf44f939a4bd66ce2832b8601f Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
15 lines
239 B
C++
15 lines
239 B
C++
#gen true
|
|
# 1 "data/identifier-expansion.1.cpp"
|
|
test test
|
|
#gen false
|
|
# 3 "data/identifier-expansion.1.cpp"
|
|
;
|
|
|
|
void
|
|
#gen true
|
|
# 1 "data/identifier-expansion.1.cpp"
|
|
test
|
|
#gen false
|
|
# 5 "data/identifier-expansion.1.cpp"
|
|
();
|