summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 12:48:33 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 16:20:11 +0100
commit4c246763627cbc69b09ebe2ac1ea8be16669569f (patch)
tree9f8cc53798f31dd58db4da476f514cbc47f2c42c /src/shared/cplusplus/AST.cpp
parent98802456b3b7573e0f76779c9ed4fb2007a8612d (diff)
downloadqt-creator-4c246763627cbc69b09ebe2ac1ea8be16669569f.tar.gz
Removed ObjCMessageArgumentDeclarationListAST
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/AST.cpp')
-rw-r--r--src/shared/cplusplus/AST.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/shared/cplusplus/AST.cpp b/src/shared/cplusplus/AST.cpp
index 4d7deaafd8..ccab8122b6 100644
--- a/src/shared/cplusplus/AST.cpp
+++ b/src/shared/cplusplus/AST.cpp
@@ -2155,28 +2155,6 @@ unsigned ObjCMessageArgumentDeclarationAST::lastToken() const
return 0;
}
-unsigned ObjCMessageArgumentDeclarationListAST::firstToken() const
-{
- if (argument_declaration)
- return argument_declaration->firstToken();
- else if (next)
- return next->firstToken();
- else
- // ### Assert?
- return 0;
-}
-
-unsigned ObjCMessageArgumentDeclarationListAST::lastToken() const
-{
- for (const ObjCMessageArgumentDeclarationListAST *it = this; it; it = it->next) {
- if (! it->next && it->argument_declaration) {
- return it->argument_declaration->lastToken();
- }
- }
- // ### assert?
- return 0;
-}
-
unsigned ObjCMethodPrototypeAST::firstToken() const
{
return method_type_token;