================
@@ -4089,6 +4088,11 @@ void
TokenAnnotator::calculateFormattingInformation(AnnotatedLine &Line) const {
}
}
+ if (First->is(TT_ElseLBrace)) {
+ First->CanBreakBefore = true;
+ First->MustBreakBefore = true;
----------------
HazardyKnusperkeks wrote:Why `must`? https://github.com/llvm/llvm-project/pull/161048 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
