diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2012-08-06 15:28:00 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2012-08-07 07:35:34 +0200 |
commit | 605acda9ae751f31b68f5416077410a22555c3c0 (patch) | |
tree | 67548ecf03b475f7566d47e69e163a538e04b847 /src/libs/cplusplus/FastPreprocessor.cpp | |
parent | e0e430e1dc1951bdfadb9eb91e807708373245aa (diff) | |
download | qt-creator-605acda9ae751f31b68f5416077410a22555c3c0.tar.gz |
C++: Expand object-like macros in fast preprocessing mode again.
Task-number: QTCREATORBUG-7512
Change-Id: I59898a0449f1f6997963e0f31c47293358a773f6
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/libs/cplusplus/FastPreprocessor.cpp')
-rw-r--r-- | src/libs/cplusplus/FastPreprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/FastPreprocessor.cpp b/src/libs/cplusplus/FastPreprocessor.cpp index a0923a2feb..5382374249 100644 --- a/src/libs/cplusplus/FastPreprocessor.cpp +++ b/src/libs/cplusplus/FastPreprocessor.cpp @@ -42,7 +42,7 @@ FastPreprocessor::FastPreprocessor(const Snapshot &snapshot) QByteArray FastPreprocessor::run(QString fileName, const QString &source) { - _preproc.setExpandMacros(false); + _preproc.setExpandFunctionlikeMacros(false); _preproc.setKeepComments(true); if (Document::Ptr doc = _snapshot.document(fileName)) { |