Skip to content

Commit 14c62df

Browse files
committed
Address review
1 parent f8ec55e commit 14c62df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Format/ContinuationIndenter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,9 +1925,9 @@ void ContinuationIndenter::moveStatePastFakeLParens(LineState &State,
19251925
(!Style.isTableGen() ||
19261926
(Previous && Previous->isOneOf(TT_TableGenDAGArgListComma,
19271927
TT_TableGenDAGArgListCommaToBreak)))) {
1928-
NewParenState.Indent = std::max(
1929-
std::max(IndentationAndAlignment(State.Column), NewParenState.Indent),
1930-
IndentationAndAlignment(CurrentState.LastSpace));
1928+
NewParenState.Indent =
1929+
std::max({IndentationAndAlignment(State.Column), NewParenState.Indent,
1930+
IndentationAndAlignment(CurrentState.LastSpace)});
19311931
}
19321932

19331933
// Special case for generic selection expressions, its comma-separated

0 commit comments

Comments
 (0)