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 | 67ffb338ee8cb1d9115c00754932b40b036862ba (patch) | |
tree | 5fe326d3e7e2ba1ab05570bc0aef347527d875de /clang | |
parent | 2a726b6c34d4fa57a8ddc6e94525d531b684ae6f (diff) | |
download | bcm5719-llvm-67ffb338ee8cb1d9115c00754932b40b036862ba.tar.gz bcm5719-llvm-67ffb338ee8cb1d9115c00754932b40b036862ba.zip |
Reformat formatter code. No functionality change.
llvm-svn: 174823
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Format/UnwrappedLineParser.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp index 76e912cca5e..36307e04873 100644 --- a/clang/lib/Format/UnwrappedLineParser.cpp +++ b/clang/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; |