forked from qt-creator/qt-creator
Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled.
This commit is contained in:
@@ -251,7 +251,7 @@ bool CheckDeclaration::visit(AccessDeclarationAST *ast)
|
||||
semantic()->switchVisibility(visibility);
|
||||
if (ast->slots_token)
|
||||
semantic()->switchMethodKey(Function::SlotMethod);
|
||||
else if (accessSpecifier == T_SIGNALS)
|
||||
else if (accessSpecifier == T_Q_SIGNALS)
|
||||
semantic()->switchMethodKey(Function::SignalMethod);
|
||||
else
|
||||
semantic()->switchMethodKey(Function::NormalMethod);
|
||||
|
||||
Reference in New Issue
Block a user