From 8899a3b01c0fcdd8060885268b31fc3511fd0805 Mon Sep 17 00:00:00 2001 From: Dongjia Zhang Date: Mon, 18 Jul 2022 22:31:01 +0200 Subject: [PATCH] Use clang-format-13 (#705) --- scripts/fmt_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fmt_all.sh b/scripts/fmt_all.sh index 57448234cf..4161b497a4 100755 --- a/scripts/fmt_all.sh +++ b/scripts/fmt_all.sh @@ -11,7 +11,7 @@ cargo fmt echo "[*] Formatting C(pp) files" # shellcheck disable=SC2046 -clang-format -i --style=file $(find . -type f \( -name '*.cpp' -o -iname '*.hpp' -o -name '*.cc' -o -name '*.cxx' -o -name '*.cc' -o -name '*.h' \) | grep -v '/target/' | grep -v 'libpng-1\.6\.37' | grep -v 'stb_image\.h' | grep -v 'dlmalloc\.c') +clang-format-13 -i --style=file $(find . -type f \( -name '*.cpp' -o -iname '*.hpp' -o -name '*.cc' -o -name '*.cxx' -o -name '*.cc' -o -name '*.h' \) | grep -v '/target/' | grep -v 'libpng-1\.6\.37' | grep -v 'stb_image\.h' | grep -v 'dlmalloc\.c')