From: Nico Weber Date: Sun, 10 Feb 2013 04:38:23 +0000 (+0000) Subject: Reformat formatter code. No functionality change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2afbe523648eb591709ac9262f024457eb019bd6;p=clang Reformat formatter code. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174823 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index 76e912cca5..36307e0487 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/lib/Format/UnwrappedLineParser.cpp @@ -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;