[cfe-commits] r54952 - /cfe/trunk/lib/Parse/ParseExpr.cpp
Argiris Kirtzidis
akyrtzi at gmail.com
Mon Aug 18 15:49:41 PDT 2008
Author: akirtzidis
Date: Mon Aug 18 17:49:40 2008
New Revision: 54952
URL: http://llvm.org/viewvc/llvm-project?rev=54952&view=rev
Log:
"Remove the 'else' since the code is fallthrough after it." - suggestion by Chris.
Modified:
cfe/trunk/lib/Parse/ParseExpr.cpp
Modified: cfe/trunk/lib/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExpr.cpp?rev=54952&r1=54951&r2=54952&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExpr.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExpr.cpp Mon Aug 18 17:49:40 2008
@@ -1017,8 +1017,8 @@
ExprResult Expr = ParseAssignmentExpression();
if (Expr.isInvalid)
return true;
- else
- Exprs.push_back(Expr.Val);
+
+ Exprs.push_back(Expr.Val);
if (Tok.isNot(tok::comma))
return false;
More information about the cfe-commits
mailing list