[clang-format] [NFC] Remove unsued arguments

This commit is contained in:
Björn Schäpers 2021-01-21 13:53:27 +01:00
parent 7c8b9c102f
commit 9aa38a0615
3 changed files with 2 additions and 5 deletions

View File

@ -751,8 +751,7 @@ bool BreakableBlockComment::mayReflow(
}
BreakableLineCommentSection::BreakableLineCommentSection(
const FormatToken &Token, unsigned StartColumn,
unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective,
const FormatToken &Token, unsigned StartColumn, bool InPPDirective,
encoding::Encoding Encoding, const FormatStyle &Style)
: BreakableComment(Token, StartColumn, InPPDirective, Encoding, Style) {
assert(Tok.is(TT_LineComment) &&

View File

@ -436,7 +436,6 @@ private:
class BreakableLineCommentSection : public BreakableComment {
public:
BreakableLineCommentSection(const FormatToken &Token, unsigned StartColumn,
unsigned OriginalStartColumn, bool FirstInLine,
bool InPPDirective, encoding::Encoding Encoding,
const FormatStyle &Style);

View File

@ -1974,8 +1974,7 @@ ContinuationIndenter::createBreakableToken(const FormatToken &Current,
switchesFormatting(Current))
return nullptr;
return std::make_unique<BreakableLineCommentSection>(
Current, StartColumn, Current.OriginalColumn, !Current.Previous,
/*InPPDirective=*/false, Encoding, Style);
Current, StartColumn, /*InPPDirective=*/false, Encoding, Style);
}
return nullptr;
}