From 2afbe523648eb591709ac9262f024457eb019bd6 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 10 Feb 2013 04:38:23 +0000 Subject: [PATCH] Reformat formatter code. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174823 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/UnwrappedLineParser.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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; -- 2.40.0