This is an archive of the discontinued LLVM Phabricator instance.

[clang-format][NFC] Use isComment() in setCommentLineLevels()
ClosedPublic

Authored by owenpan on Apr 21 2022, 5:03 PM.

Details

Summary

Also replace an unnecessary check with assert() in the unwrapped line parser.

Diff Detail

Event Timeline

owenpan created this revision.Apr 21 2022, 5:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2022, 5:03 PM
owenpan requested review of this revision.Apr 21 2022, 5:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2022, 5:03 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
curdeius accepted this revision.Apr 22 2022, 12:14 AM

Thanks for the clean up!

This revision is now accepted and ready to land.Apr 22 2022, 12:14 AM
This revision was landed with ongoing or failed builds.Apr 22 2022, 9:21 AM
This revision was automatically updated to reflect the committed changes.