================
@@ -1276,6 +1276,21 @@ unsigned
ContinuationIndenter::addTokenOnNewLine(LineState &State,
CurrentState.BreakBeforeParameter = false;
CurrentState.AlignedTo = &Current;
}
+ if (!CurrentState.AlignedTo && Current.is(TT_ConditionalExpr)) {
----------------
HazardyKnusperkeks wrote:
What happens if you ignore the previous value of `AlignedTo`?
https://github.com/llvm/llvm-project/pull/196697
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits