summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 12:49:49 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 16:20:11 +0100
commit86a8812beb9b122c37e474810dbf43567d727cac (patch)
treedfb623f6c2ec110bdce1cc8a869ebba67ac3b0cd /src/shared/cplusplus/AST.cpp
parent4c246763627cbc69b09ebe2ac1ea8be16669569f (diff)
downloadqt-creator-86a8812beb9b122c37e474810dbf43567d727cac.tar.gz
Removed ObjCSynthesizedPropertyAST
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/AST.cpp')
-rw-r--r--src/shared/cplusplus/AST.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/shared/cplusplus/AST.cpp b/src/shared/cplusplus/AST.cpp
index ccab8122b6..0ef6f91f4a 100644
--- a/src/shared/cplusplus/AST.cpp
+++ b/src/shared/cplusplus/AST.cpp
@@ -2207,25 +2207,6 @@ unsigned ObjCSynthesizedPropertyAST::lastToken() const
return property_identifier + 1;
}
-unsigned ObjCSynthesizedPropertyListAST::firstToken() const
-{
- if (synthesized_property)
- return synthesized_property->firstToken();
- // ### assert?
- return 0;
-}
-
-unsigned ObjCSynthesizedPropertyListAST::lastToken() const
-{
- for (const ObjCSynthesizedPropertyListAST *it = this; it; it = it->next) {
- if (! it->next && it->synthesized_property) {
- return it->synthesized_property->lastToken();
- }
- }
- // ### assert?
- return 0;
-}
-
unsigned ObjCSynthesizedPropertiesDeclarationAST::firstToken() const
{
return synthesized_token;