summaryrefslogtreecommitdiffstats
path: root/lib/Format
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-06-27 13:58:41 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-06-27 13:58:41 +0000
commit2f35ace32588a824d065275d7774ffac1d9b91ea (patch)
treee181c1c51750b487d39600a1a695254907595e8d /lib/Format
parentace84ec3ef5538e6249e57961324448552b80f40 (diff)
[clang-format] Fix a buildbot failure after r306406
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format')
-rw-r--r--lib/Format/UnwrappedLineParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp
index 261ae3030d..ba3a4c17ee 100644
--- a/lib/Format/UnwrappedLineParser.cpp
+++ b/lib/Format/UnwrappedLineParser.cpp
@@ -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();