Removed ObjCSynthesizedPropertyAST

Done with Erik Verbruggen
This commit is contained in:
Roberto Raggi
2009-11-10 12:49:49 +01:00
parent 4c24676362
commit 86a8812beb
5 changed files with 9 additions and 52 deletions

View File

@@ -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;