r306408 - [clang-format] Fix a buildbot failure after r306406
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 27 06:58:41 PDT 2017
Author: krasimir
Date: Tue Jun 27 06:58:41 2017
New Revision: 306408
URL: http://llvm.org/viewvc/llvm-project?rev=306408&view=rev
Log:
[clang-format] Fix a buildbot failure after r306406
Modified:
cfe/trunk/lib/Format/UnwrappedLineParser.cpp
Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.cpp?rev=306408&r1=306407&r2=306408&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineParser.cpp (original)
+++ cfe/trunk/lib/Format/UnwrappedLineParser.cpp Tue Jun 27 06:58:41 2017
@@ -1180,7 +1180,8 @@ void UnwrappedLineParser::parseStructura
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();
More information about the cfe-commits
mailing list