forked from qt-creator/qt-creator
Implemented DestructorNameAST::lastToken().
This commit is contained in:
@@ -1165,8 +1165,9 @@ unsigned DestructorNameAST::firstToken() const
|
||||
|
||||
unsigned DestructorNameAST::lastToken() const
|
||||
{
|
||||
assert(0 && "review me");
|
||||
return identifier_token + 1;
|
||||
if (identifier_token)
|
||||
return identifier_token + 1;
|
||||
return tilde_token + 1;
|
||||
}
|
||||
|
||||
void DoStatementAST::accept0(ASTVisitor *visitor)
|
||||
|
Reference in New Issue
Block a user