This is an archive of the discontinued LLVM Phabricator instance.

[clang-format][NFC] Merge two calls of isOneOf
ClosedPublic

Authored by HazardyKnusperkeks on Dec 3 2021, 11:55 AM.

Diff Detail

Event Timeline

HazardyKnusperkeks requested review of this revision.Dec 3 2021, 11:55 AM
HazardyKnusperkeks created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2021, 11:55 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
curdeius accepted this revision.Dec 3 2021, 1:16 PM

I guess this is matter of taste whether to call isOneOf separately for TokenKinds and for TokenTypes (but +1 for removing the repetition).

This revision is now accepted and ready to land.Dec 3 2021, 1:16 PM
owenpan accepted this revision.Dec 3 2021, 4:28 PM
This revision was automatically updated to reflect the committed changes.