aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2023-02-27 20:02:51 +0000
committerLeonard Chan <leonardchan@google.com>2023-02-27 20:02:51 +0000
commit50563944ab962b58a1e00763ce16d8c712965c6d (patch)
tree850322c19e15fa85c89d326484655bae93622e81 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent666731660c733896b83de5eec49e2cd469aef02c (diff)
downloadllvm-50563944ab962b58a1e00763ce16d8c712965c6d.zip
llvm-50563944ab962b58a1e00763ce16d8c712965c6d.tar.gz
llvm-50563944ab962b58a1e00763ce16d8c712965c6d.tar.bz2
[clang-format-diff] Correctly parse start-of-file diffs
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. Submitting on behalf of @tamird. Differential Revision: https://reviews.llvm.org/D144291
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions