forked from qt-creator/qt-creator
Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled.
This commit is contained in:
@@ -1421,6 +1421,8 @@ bool Preprocessor::isQtReservedWord(const QByteArray ¯oId) const
|
||||
const int size = macroId.size();
|
||||
if (size == 9 && macroId.at(0) == 'Q' && macroId == "Q_SIGNALS")
|
||||
return true;
|
||||
else if (size == 9 && macroId.at(0) == 'Q' && macroId == "Q_FOREACH")
|
||||
return true;
|
||||
else if (size == 7 && macroId.at(0) == 'Q' && macroId == "Q_SLOTS")
|
||||
return true;
|
||||
else if (size == 8 && macroId.at(0) == 'Q' && macroId == "Q_SIGNAL")
|
||||
|
||||
Reference in New Issue
Block a user