summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/ASTMatcher.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-02-04 12:03:34 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-02-04 12:15:32 +0100
commitae0ee18a77e81cb9c8dbb5a5798a44d5d135d0b7 (patch)
treee6d3585aa9d457b769436a83e47c063bf381b1f6 /src/shared/cplusplus/ASTMatcher.h
parent1b5168c19e8dd22b4c5192108415995ffa4dcd43 (diff)
downloadqt-creator-ae0ee18a77e81cb9c8dbb5a5798a44d5d135d0b7.tar.gz
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.
Diffstat (limited to 'src/shared/cplusplus/ASTMatcher.h')
-rw-r--r--src/shared/cplusplus/ASTMatcher.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/cplusplus/ASTMatcher.h b/src/shared/cplusplus/ASTMatcher.h
index 065ee66359..df3aa6cf5a 100644
--- a/src/shared/cplusplus/ASTMatcher.h
+++ b/src/shared/cplusplus/ASTMatcher.h
@@ -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);