You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from llvm/llvm-project#70883 (around LLVM version 18.1.0), the clang-format-diff script now will exit with a non-zero status code if it detects there has formatting changes.
And this change from LLVM clang-format will break the assuming in apply-format script, here at L329,
Starting with 18.x, clang-format-diff exits with a nonzero exit code if
there was a diff to be applied. This breaks the apply-format script
because it will exit without printing the diff. Instead, ignore the exit
code and proceed to print the diff.
Closes: barisione#33
Starting from llvm/llvm-project#70883 (around LLVM version 18.1.0), the
clang-format-diff
script now will exit with a non-zero status code if it detects there has formatting changes.And this change from LLVM clang-format will break the assuming in
apply-format
script, here at L329,clang-format-hooks/apply-format
Lines 323 to 329 in ac35e70
which stops
apply-format
to apply the diff as format fix to the local or git-staged files.The text was updated successfully, but these errors were encountered: