diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-02-10 04:38:23 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-02-10 04:38:23 +0000 |
commit | 2afbe523648eb591709ac9262f024457eb019bd6 (patch) | |
tree | de21e5d6c6ca235e57231126b9ab451fb312af9b /lib/Format/UnwrappedLineParser.cpp | |
parent | 051860ee770bf83c3e66ab893be3642bb8bc2680 (diff) |
Reformat formatter code. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
-rw-r--r-- | lib/Format/UnwrappedLineParser.cpp | 19 |
1 files 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; |