summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
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/AST.cpp
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/AST.cpp')
-rw-r--r--src/shared/cplusplus/AST.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/cplusplus/AST.cpp b/src/shared/cplusplus/AST.cpp
index 62871bbfd2..fe697ea91d 100644
--- a/src/shared/cplusplus/AST.cpp
+++ b/src/shared/cplusplus/AST.cpp
@@ -144,7 +144,6 @@ unsigned AccessDeclarationAST::lastToken() const
return access_specifier_token + 1;
}
-#ifdef ICHECK_BUILD
unsigned QPropertyDeclarationAST::firstToken() const
{
return property_specifier_token;
@@ -184,7 +183,6 @@ unsigned QDeclareFlagsDeclarationAST::lastToken() const
{
return rparen_token;
}
-#endif
unsigned ArrayAccessAST::firstToken() const
{