]> granicus.if.org Git - clang/commitdiff
[clang-format] Fix a buildbot failure after r306406
authorKrasimir Georgiev <krasimir@google.com>
Tue, 27 Jun 2017 13:58:41 +0000 (13:58 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Tue, 27 Jun 2017 13:58:41 +0000 (13:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306408 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/UnwrappedLineParser.cpp

index 261ae3030d9ae9eba15ff6a057e8df70a8dbb022..ba3a4c17ee12c466649a10792b0163f93cc16e35 100644 (file)
@@ -1180,7 +1180,8 @@ void UnwrappedLineParser::parseStructuralElement() {
         parseBracedList();
       else if (Style.Language == FormatStyle::LK_Proto &&
                FormatTok->Tok.is(tok::less))
-        parseBracedList(/*ClosingBraceKind=*/tok::greater);
+        parseBracedList(/*ContinueOnSemicolons=*/false,
+                        /*ClosingBraceKind=*/tok::greater);
       break;
     case tok::l_square:
       parseSquare();