Files
qt-creator/tests/auto/cplusplus/preprocessor/preprocessor.pro
Erik Verbruggen 60db573660 [C++] Rewrite of the preprocessor.
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>
2012-03-29 14:28:17 +02:00

14 lines
808 B
Prolog

include(../../qttest.pri)
include(../shared/shared.pri)
SOURCES += tst_preprocessor.cpp
OTHER_FILES = \
data/noPP.1.cpp data/noPP.1.errors.txt \
data/identifier-expansion.1.cpp data/identifier-expansion.1.out.cpp data/identifier-expansion.1.errors.txt \
data/identifier-expansion.2.cpp data/identifier-expansion.2.out.cpp data/identifier-expansion.2.errors.txt \
data/identifier-expansion.3.cpp data/identifier-expansion.3.out.cpp data/identifier-expansion.3.errors.txt \
data/identifier-expansion.4.cpp data/identifier-expansion.4.out.cpp data/identifier-expansion.4.errors.txt \
data/reserved.1.cpp data/reserved.1.out.cpp data/reserved.1.errors.txt \
data/macro_expand.c data/macro_expand.out.c data/macro_expand.errors.txt \
data/empty-macro.cpp data/empty-macro.out.cpp