summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
diff options
context:
space:
mode:
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;