forked from OSchip/llvm-project
[clang-format] [NFC] Remove unsued arguments
This commit is contained in:
parent
7c8b9c102f
commit
9aa38a0615
|
@ -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) &&
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue