summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/cplusplus/CheckStatement.h')
-rw-r--r--src/shared/cplusplus/CheckStatement.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/cplusplus/CheckStatement.h b/src/shared/cplusplus/CheckStatement.h
index e31d507a5e..5c1b1ff02d 100644
--- a/src/shared/cplusplus/CheckStatement.h
+++ b/src/shared/cplusplus/CheckStatement.h
@@ -90,6 +90,14 @@ protected:
virtual bool visit(WhileStatementAST *ast);
virtual bool visit(QtMemberDeclarationAST *ast);
+ bool forEachFastEnum(unsigned firstToken,
+ unsigned lastToken,
+ SpecifierListAST *type_specifier_list,
+ DeclaratorAST *declarator,
+ ExpressionAST *initializer,
+ ExpressionAST *expression,
+ StatementAST *statement,
+ Block *&symbol);
private:
StatementAST *_statement;
Scope *_scope;