]> granicus.if.org Git - clang/commitdiff
Remove a no-op break after a return, and correct one of the most
authorChandler Carruth <chandlerc@gmail.com>
Fri, 8 Jul 2011 04:59:44 +0000 (04:59 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 8 Jul 2011 04:59:44 +0000 (04:59 +0000)
confusing indentations I've seen recently... Just noticed these while
making a change elsewhere.

No functionality changed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134685 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseExpr.cpp

index 3cfbdb38efd301734d800d3907b8a278d005dc1e..d423bd3fb0682363e276addbc8dbd28b4da78a9f 100644 (file)
@@ -792,7 +792,7 @@ ExprResult Parser::ParseCastExpression(bool isUnaryExpression,
     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 @@ ExprResult Parser::ParseBuiltinPrimaryExpression() {
                                   ConsumeParen());
     break;
   }
-}
+  }
 
   if (Res.isInvalid())
     return ExprError();