[cfe-commits] r134685 - /cfe/trunk/lib/Parse/ParseExpr.cpp

Chandler Carruth chandlerc at gmail.com
Thu Jul 7 21:59:44 PDT 2011


Author: chandlerc
Date: Thu Jul  7 23:59:44 2011
New Revision: 134685

URL: http://llvm.org/viewvc/llvm-project?rev=134685&view=rev
Log:
Remove a no-op break after a return, and correct one of the most
confusing indentations I've seen recently... Just noticed these while
making a change elsewhere.

No functionality changed.

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=134685&r1=134684&r2=134685&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExpr.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExpr.cpp Thu Jul  7 23:59:44 2011
@@ -792,7 +792,7 @@
     return ParseBuiltinPrimaryExpression();
   case tok::kw___null:
     return Actions.ActOnGNUNullExpr(ConsumeToken());
-    break;
+
   case tok::plusplus:      // unary-expression: '++' unary-expression [C99]
   case tok::minusminus: {  // unary-expression: '--' unary-expression [C99]
     // C++ [expr.unary] has:
@@ -1718,7 +1718,7 @@
                                   ConsumeParen());
     break;
   }
-}
+  }
 
   if (Res.isInvalid())
     return ExprError();





More information about the cfe-commits mailing list