From: Chandler Carruth Date: Fri, 8 Jul 2011 04:59:44 +0000 (+0000) Subject: Remove a no-op break after a return, and correct one of the most X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c7fddd5f6a1757d54c62f5e60de1631084b501a;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134685 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp index 3cfbdb38ef..d423bd3fb0 100644 --- a/lib/Parse/ParseExpr.cpp +++ b/lib/Parse/ParseExpr.cpp @@ -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();