summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-02-10 04:38:23 +0000
committerNico Weber <nicolasweber@gmx.de>2013-02-10 04:38:23 +0000
commit67ffb338ee8cb1d9115c00754932b40b036862ba (patch)
tree5fe326d3e7e2ba1ab05570bc0aef347527d875de
parent2a726b6c34d4fa57a8ddc6e94525d531b684ae6f (diff)
downloadbcm5719-llvm-67ffb338ee8cb1d9115c00754932b40b036862ba.tar.gz
bcm5719-llvm-67ffb338ee8cb1d9115c00754932b40b036862ba.zip
Reformat formatter code. No functionality change.
llvm-svn: 174823
-rw-r--r--clang/lib/Format/UnwrappedLineParser.cpp19
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;
OpenPOWER on IntegriCloud