Logo
Explore Help
Sign In
feedc0de/qt-creator
1
0
Fork 0
You've already forked qt-creator
forked from qt-creator/qt-creator
Code Pull Requests Activity
Files
9680b8434e7eeb6a7053e352757791a12b59d27f
qt-creator/tests/auto/cplusplus/preprocessor/data/identifier-expansion.4.cpp

9 lines
101 B
C++
Raw Normal View History

[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-26 15:18:01 +02:00
#define foobar(a) a
#define food foobar
void baz()
{
int aaa;
food(aaa);
}
Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 494ms Template: 12ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API