mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 22:53:05 +08:00
Fix buildbot: Use correct Consume*() for braces.
llvm-svn: 361120
This commit is contained in:
@@ -3052,7 +3052,8 @@ Parser::ParseCXXDeleteExpression(bool UseGlobal, SourceLocation Start) {
|
||||
SkipUntil({tok::l_brace, tok::less}, StopBeforeMatch);
|
||||
SourceLocation RBraceLoc;
|
||||
bool EmitFixIt = false;
|
||||
if (TryConsumeToken(tok::l_brace)) {
|
||||
if (Tok.is(tok::l_brace)) {
|
||||
ConsumeBrace();
|
||||
SkipUntil(tok::r_brace, StopBeforeMatch);
|
||||
RBraceLoc = Tok.getLocation();
|
||||
EmitFixIt = true;
|
||||
|
||||
Reference in New Issue
Block a user