summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
-rw-r--r--clang/lib/Format/UnwrappedLineParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp
index 261ae3030d9..ba3a4c17ee1 100644
--- a/clang/lib/Format/UnwrappedLineParser.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud