Also replace an unnecessary check with assert() in the unwrapped line parser.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D124215
[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 TimelineThis 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 Closed by commit rGc9e7eec7bc41: [clang-format][NFC] Use isComment() in setCommentLineLevels() (authored by owenpan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 424330 clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLineParser.cpp
|