diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-02-04 12:03:34 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-02-04 12:15:32 +0100 |
commit | ae0ee18a77e81cb9c8dbb5a5798a44d5d135d0b7 (patch) | |
tree | e6d3585aa9d457b769436a83e47c063bf381b1f6 /src/shared/cplusplus/ASTMatch0.cpp | |
parent | 1b5168c19e8dd22b4c5192108415995ffa4dcd43 (diff) | |
download | qt-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/ASTMatch0.cpp')
-rw-r--r-- | src/shared/cplusplus/ASTMatch0.cpp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/shared/cplusplus/ASTMatch0.cpp b/src/shared/cplusplus/ASTMatch0.cpp index 1d329a856a..807bfbf4d0 100644 --- a/src/shared/cplusplus/ASTMatch0.cpp +++ b/src/shared/cplusplus/ASTMatch0.cpp @@ -27,6 +27,15 @@ ** **************************************************************************/ +// +// W A R N I N G +// ------------- +// +// This file is automatically generated. +// Changes will be lost. +// + + #include "AST.h" #include "ASTMatcher.h" @@ -96,10 +105,9 @@ bool AccessDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) return false; } -#ifdef ICHECK_BUILD bool QPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) { - if (QPropertyDeclarationAST *_other = pattern->asQPropertyDeclarationAST()) + if (QPropertyDeclarationAST *_other = pattern->asQPropertyDeclaration()) return matcher->match(this, _other); return false; @@ -107,7 +115,7 @@ bool QPropertyDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) bool QEnumDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) { - if (QEnumDeclarationAST *_other = pattern->asQEnumDeclarationAST()) + if (QEnumDeclarationAST *_other = pattern->asQEnumDeclaration()) return matcher->match(this, _other); return false; @@ -115,7 +123,7 @@ bool QEnumDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) bool QFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) { - if (QFlagsDeclarationAST *_other = pattern->asQFlagsDeclarationAST()) + if (QFlagsDeclarationAST *_other = pattern->asQFlagsDeclaration()) return matcher->match(this, _other); return false; @@ -123,12 +131,11 @@ bool QFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) bool QDeclareFlagsDeclarationAST::match0(AST *pattern, ASTMatcher *matcher) { - if (QDeclareFlagsDeclarationAST *_other = pattern->asQDeclareFlagsDeclarationAST()) + if (QDeclareFlagsDeclarationAST *_other = pattern->asQDeclareFlagsDeclaration()) return matcher->match(this, _other); return false; } -#endif bool AsmDefinitionAST::match0(AST *pattern, ASTMatcher *matcher) { |