|
@@ -1057,7 +1057,7 @@ unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) {
|
|
if (Current.is(TT_ProtoExtensionLSquare))
|
|
if (Current.is(TT_ProtoExtensionLSquare))
|
|
return State.Stack.back().Indent;
|
|
return State.Stack.back().Indent;
|
|
if (State.Stack.back().Indent == State.FirstIndent && PreviousNonComment &&
|
|
if (State.Stack.back().Indent == State.FirstIndent && PreviousNonComment &&
|
|
- PreviousNonComment->isNot(tok::r_brace))
|
|
|
|
|
|
+ !PreviousNonComment->isOneOf(tok::r_brace, TT_CtorInitializerComma))
|
|
// Ensure that we fall back to the continuation indent width instead of
|
|
// Ensure that we fall back to the continuation indent width instead of
|
|
// just flushing continuations left.
|
|
// just flushing continuations left.
|
|
return State.Stack.back().Indent + Style.ContinuationIndentWidth;
|
|
return State.Stack.back().Indent + Style.ContinuationIndentWidth;
|