Set the SourceRange ending of DeclSpec, when Parser::ParseTypeofSpecifier finishes.

llvm-svn: 54840
This commit is contained in:
Argyrios Kyrtzidis 2008-08-16 10:21:33 +00:00
parent 186a18a4e8
commit e97dcc1248
1 changed files with 1 additions and 0 deletions

View File

@ -1594,6 +1594,7 @@ void Parser::ParseTypeofSpecifier(DeclSpec &DS) {
Result.Val))
Diag(StartLoc, diag::err_invalid_decl_spec_combination, PrevSpec);
}
DS.SetRangeEnd(RParenLoc);
}