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 11a3f6f commit a54a5c8Copy full SHA for a54a5c8
clang/lib/Format/DefinitionBlockSeparator.cpp
@@ -138,10 +138,8 @@ void DefinitionBlockSeparator::separateBlocks(
138
assert(Direction >= -1);
139
assert(Direction <= 1);
140
141
- if (Style.isCSharp() &&
142
- Lines[OpeningLineIndex]->First->is(TT_CSharpGenericTypeConstraint)) {
+ if (Lines[OpeningLineIndex]->First->is(TT_CSharpGenericTypeConstraint))
143
return true;
144
- }
145
146
const size_t OperateIndex = OpeningLineIndex + Direction;
147
assert(OperateIndex < Lines.size());
0 commit comments