diff options
author | Conrad Donahue <conradjdonahue@gmail.com> | 2023-11-08 21:13:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 18:13:03 -0800 |
commit | 68d618f908458e7513e2a56be292216ea0e4ef3f (patch) | |
tree | c3cefc2a13d50ed5529baac2562c2d79d2d657f4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | d36eb79ccc623d7f56b49ab878cff6f3eba14eef (diff) | |
download | llvm-68d618f908458e7513e2a56be292216ea0e4ef3f.zip llvm-68d618f908458e7513e2a56be292216ea0e4ef3f.tar.gz llvm-68d618f908458e7513e2a56be292216ea0e4ef3f.tar.bz2 |
[clang-format] Add ability for clang-format-diff to exit with non-0 status (#70883)
This patch adds the ability for the clang-format-diff script to exit
with a non-zero status if it detects that formatting changes are
necessary. This makes it easier to use clang-format-diff as part of a
DevOps pipeline, since you could add a stage to run clang-format-diff
and fail if the formatting needs to be fixed.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions