forked from OSchip/llvm-project
Set the SourceRange ending of DeclSpec, when Parser::ParseTypeofSpecifier finishes.
llvm-svn: 54840
This commit is contained in:
parent
186a18a4e8
commit
e97dcc1248
|
@ -1594,6 +1594,7 @@ void Parser::ParseTypeofSpecifier(DeclSpec &DS) {
|
|||
Result.Val))
|
||||
Diag(StartLoc, diag::err_invalid_decl_spec_combination, PrevSpec);
|
||||
}
|
||||
DS.SetRangeEnd(RParenLoc);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue