Remove code duplication in unwrapped line parser.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189933 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp
index c780fdb..6a491c4 100644
--- a/lib/Format/UnwrappedLineParser.cpp
+++ b/lib/Format/UnwrappedLineParser.cpp
@@ -832,16 +832,7 @@
       return;
     case tok::l_brace: {
       if (!tryToParseBracedList()) {
-        nextToken();
-        {
-          ScopedLineState LineState(*this);
-          ScopedDeclarationState DeclarationState(*Line, DeclarationScopeStack,
-                                                  /*MustBeDeclaration=*/false);
-          Line->Level += 1;
-          parseLevel(/*HasOpeningBrace=*/true);
-          Line->Level -= 1;
-        }
-        nextToken();
+        parseChildBlock();
       }
       break;
     }