================ @@ -137,6 +137,12 @@ void DefinitionBlockSeparator::separateBlocks( const auto MayPrecedeDefinition = [&](const int Direction = -1) { assert(Direction >= -1); assert(Direction <= 1); + + if (Style.isCSharp() && + Lines[OpeningLineIndex]->First->is(TT_CSharpGenericTypeConstraint)) { + return true; + } ---------------- owenca wrote:
```suggestion if (Lines[OpeningLineIndex]->First->is(TT_CSharpGenericTypeConstraint)) return true; ``` https://github.com/llvm/llvm-project/pull/139034 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits