We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6548c31 commit 0dcdacdCopy full SHA for 0dcdacd
clang/lib/Format/UnwrappedLineFormatter.cpp
@@ -660,8 +660,7 @@ class LineJoiner {
660
return 0;
661
// Check that the line after the inner result starts with a closing brace
662
// which we are permitted to merge into one line.
663
- if (I[N]->First->is(tok::r_brace) &&
664
- !I[N]->First->MustBreakBefore &&
+ if (I[N]->First->is(tok::r_brace) && !I[N]->First->MustBreakBefore &&
665
!I[MergedLines + 1]->Last->is(tok::comment) &&
666
nextNLinesFitInto(I, I + N + 1, Limit)) {
667
return N;
0 commit comments