]> granicus.if.org Git - clang/commitdiff
Reformat formatter code. No functionality change.
authorNico Weber <nicolasweber@gmx.de>
Sun, 10 Feb 2013 04:38:23 +0000 (04:38 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 10 Feb 2013 04:38:23 +0000 (04:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174823 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/UnwrappedLineParser.cpp

index 76e912cca5edfafb747a9c08280ffa6aa42bd0e7..36307e04873e58e96d00cad4c3762ae62f30d622 100644 (file)
@@ -447,17 +447,16 @@ void UnwrappedLineParser::parseParens() {
     case tok::r_paren:
       nextToken();
       return;
-    case tok::l_brace:
-      {
-        nextToken();
-        ScopedLineState LineState(*this);
-        ScopedDeclarationState DeclarationState(*Line, DeclarationScopeStack,
-                                                /*MustBeDeclaration=*/ false);
-        Line->Level += 1;
-        parseLevel(/*HasOpeningBrace=*/ true);
-        Line->Level -= 1;
-      }
+    case tok::l_brace: {
+      nextToken();
+      ScopedLineState LineState(*this);
+      ScopedDeclarationState DeclarationState(*Line, DeclarationScopeStack,
+                                              /*MustBeDeclaration=*/ false);
+      Line->Level += 1;
+      parseLevel(/*HasOpeningBrace=*/ true);
+      Line->Level -= 1;
       break;
+    }
     default:
       nextToken();
       break;