forked from qt-creator/qt-creator
Removed #ifdefs so all AST nodes are always there.
Also removed the (conditional) invoke_token from DeclarationAST and use the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch code generation.
This commit is contained in:
@@ -40,12 +40,10 @@ public:
|
||||
virtual ~ASTMatcher();
|
||||
|
||||
virtual bool match(AccessDeclarationAST *node, AccessDeclarationAST *pattern);
|
||||
#ifdef ICHECK_BUILD
|
||||
virtual bool match(QPropertyDeclarationAST *node, QPropertyDeclarationAST *pattern);
|
||||
virtual bool match(QEnumDeclarationAST *node, QEnumDeclarationAST *pattern);
|
||||
virtual bool match(QFlagsDeclarationAST *node, QFlagsDeclarationAST *pattern);
|
||||
virtual bool match(QDeclareFlagsDeclarationAST *node, QDeclareFlagsDeclarationAST *pattern);
|
||||
#endif
|
||||
virtual bool match(ArrayAccessAST *node, ArrayAccessAST *pattern);
|
||||
virtual bool match(ArrayDeclaratorAST *node, ArrayDeclaratorAST *pattern);
|
||||
virtual bool match(ArrayInitializerAST *node, ArrayInitializerAST *pattern);
|
||||
|
||||
Reference in New Issue
Block a user