diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 12:34:29 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:20:10 +0100 |
commit | 6e3e293e535b368ccae8179bd32f9b1d0d80718a (patch) | |
tree | 5b8730d3a418da04d41470e37946914f82bd3fe7 /src/shared/cplusplus/AST.cpp | |
parent | 77e7899e7ca3c4f426f53a2cd89e6924fd2d1646 (diff) | |
download | qt-creator-6e3e293e535b368ccae8179bd32f9b1d0d80718a.tar.gz |
Removed DeclaratorListAST
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/AST.cpp')
-rw-r--r-- | src/shared/cplusplus/AST.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/shared/cplusplus/AST.cpp b/src/shared/cplusplus/AST.cpp index 44d2b978ff..db6a31fe2a 100644 --- a/src/shared/cplusplus/AST.cpp +++ b/src/shared/cplusplus/AST.cpp @@ -608,25 +608,6 @@ unsigned DeclaratorIdAST::lastToken() const return name->lastToken(); } - -unsigned DeclaratorListAST::firstToken() const -{ - return declarator->firstToken(); -} - -unsigned DeclaratorListAST::lastToken() const -{ - for (const DeclaratorListAST *it = this; it; it = it->next) { - if (! it->next) { - if (it->declarator) - return it->declarator->lastToken(); - } - } - - return 0; -} - - unsigned DeleteExpressionAST::firstToken() const { if (scope_token) |