We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a207e63 commit a699ab5Copy full SHA for a699ab5
clang/lib/Format/ContinuationIndenter.cpp
@@ -1428,8 +1428,8 @@ unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) {
1428
return CurrentState.Indent - Current.Tok.getLength() -
1429
Current.SpacesRequiredBefore;
1430
}
1431
- if (Current.isOneOf(tok::comment, TT_BlockComment, TT_LineComment) &&
1432
- NextNonComment->isBinaryOperator() && CurrentState.UnindentOperator) {
+ if (Current.is(tok::comment) && NextNonComment->isBinaryOperator() &&
+ CurrentState.UnindentOperator) {
1433
return CurrentState.Indent - NextNonComment->Tok.getLength() -
1434
NextNonComment->SpacesRequiredBefore;
1435
0 commit comments