forked from OSchip/llvm-project
"Remove the 'else' since the code is fallthrough after it." - suggestion by Chris.
llvm-svn: 54952
This commit is contained in:
parent
927b5a5ac2
commit
22fc2665e6
|
@ -1017,8 +1017,8 @@ bool Parser::ParseExpressionList(ExprListTy &Exprs, CommaLocsTy &CommaLocs) {
|
||||||
ExprResult Expr = ParseAssignmentExpression();
|
ExprResult Expr = ParseAssignmentExpression();
|
||||||
if (Expr.isInvalid)
|
if (Expr.isInvalid)
|
||||||
return true;
|
return true;
|
||||||
else
|
|
||||||
Exprs.push_back(Expr.Val);
|
Exprs.push_back(Expr.Val);
|
||||||
|
|
||||||
if (Tok.isNot(tok::comma))
|
if (Tok.isNot(tok::comma))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue