Skip to content

Commit

Permalink
maint: Fix apply-format script to work with clang-format 18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomato committed Jul 28, 2024
1 parent 379a670 commit 25bdced
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/apply-format
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ else # Diff-only.
-p1 \
-style="$style" \
-iregex='^.*\.(c|cpp|cxx|cc|h|m|mm|js|java)$' \
> "$patch_dest" \
|| exit 1
> "$patch_dest"

if [ "$apply_to_staged" = true ]; then
if [ ! -s "$patch_dest" ]; then
Expand Down

0 comments on commit 25bdced

Please sign in to comment.