Handle the case where the diff is a pure removal of lines. Before this
change start_line would end up as 0 which is rejected by clang-format.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144291
[clang-format-diff] Correctly parse start-of-file diffs ClosedPublic Authored by tamird on Feb 17 2023, 12:31 PM.
Details Summary Handle the case where the diff is a pure removal of lines. Before this
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 17 2023, 12:54 PM Closed by commit rG50563944ab96: [clang-format-diff] Correctly parse start-of-file diffs (authored by tamird, committed by leonardchan). · Explain WhyFeb 27 2023, 12:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 498477 clang/tools/clang-format/clang-format-diff.py
|