Unverified Commit 68d618f9 authored by Conrad Donahue's avatar Conrad Donahue Committed by GitHub
Browse files

[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.
parent d36eb79c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment