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:
@@ -81,8 +81,8 @@ public:
|
||||
QByteArray run(const QString &filename, const QString &source);
|
||||
QByteArray run(const QString &filename, const QByteArray &source, bool noLines = false, bool markGeneratedTokens = true);
|
||||
|
||||
bool expandMacros() const;
|
||||
void setExpandMacros(bool expandMacros);
|
||||
bool expandFunctionlikeMacros() const;
|
||||
void setExpandFunctionlikeMacros(bool expandFunctionlikeMacros);
|
||||
|
||||
bool keepComments() const;
|
||||
void setKeepComments(bool keepComments);
|
||||
@@ -197,7 +197,7 @@ private:
|
||||
Environment *m_env;
|
||||
QByteArray m_scratchBuffer;
|
||||
|
||||
bool m_expandMacros;
|
||||
bool m_expandFunctionlikeMacros;
|
||||
bool m_keepComments;
|
||||
|
||||
State m_state;
|
||||
|
||||
Reference in New Issue
Block a user