File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5172,6 +5172,7 @@ struct FormatStyle {
51725172 R.AllowShortIfStatementsOnASingleLine &&
51735173 AllowShortLambdasOnASingleLine == R.AllowShortLambdasOnASingleLine &&
51745174 AllowShortLoopsOnASingleLine == R.AllowShortLoopsOnASingleLine &&
5175+ AllowShortNamespacesOnASingleLine == R.AllowShortNamespacesOnASingleLine &&
51755176 AlwaysBreakBeforeMultilineStrings ==
51765177 R.AlwaysBreakBeforeMultilineStrings &&
51775178 AttributeMacros == R.AttributeMacros &&
Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ class LineJoiner {
653653 assert (Limit >= I[1 ]->Last ->TotalLength + 3 );
654654 const unsigned InnerLimit = Limit - I[1 ]->Last ->TotalLength - 3 ;
655655 const unsigned MergedLines = tryMergeNamespace (I + 1 , E, InnerLimit);
656- if (! MergedLines)
656+ if (MergedLines == 0 )
657657 return 0 ;
658658 const auto N = MergedLines + 2 ;
659659 // Check if there is even a line after the inner result.
You can’t perform that action at this time.
0 commit comments