forked from OSchip/llvm-project
Fix build breakage
That's what I get for last second changes... llvm-svn: 224967
This commit is contained in:
parent
f58efd9514
commit
ec3f49dfdf
|
@ -448,7 +448,8 @@ bool Parser::ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS,
|
|||
// like we never saw it.
|
||||
Token Identifier = Tok; // Stash away the identifier.
|
||||
ConsumeToken(); // Eat the identifier, current token is now '::'.
|
||||
Diag(PP.getLocForEndOfTokenConsumeToken(), diag::err_expected) << tok::identifier;
|
||||
Diag(PP.getLocForEndOfToken(ConsumeToken()), diag::err_expected)
|
||||
<< tok::identifier;
|
||||
UnconsumeToken(Identifier); // Stick the identifier back.
|
||||
Next = NextToken(); // Point Next at the '{' token.
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue