forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user