Also fixed the error message for start line > end line and added test cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D129348
[clang-format] Fix an assertion failure on -lines=0:n ClosedPublic Authored by owenpan on Jul 8 2022, 12:03 AM.
Details Summary Also fixed the error message for start line > end line and added test cases.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 8 2022, 12:20 AM This revision was landed with ongoing or failed builds.Jul 8 2022, 11:41 PM Closed by commit rG615f838f7380: [clang-format] Fix an assertion failure on -lines=0:n (authored by owenpan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 443416 clang/test/Format/line-ranges.cpp
clang/tools/clang-format/ClangFormat.cpp
|