add clang-format

cherry-picked from: qt-wgpu-skel:d0998119c87f75ae8880011bfbb0c76a3f91d0fe
This commit is contained in:
numzero 2026-08-22 02:48:03 +03:00
parent 33e9831e33
commit 77c0a06053

11
format.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
find src/ ui/ \
\( \
-name '*.cxx' -o \
-name '*.hxx' -o \
-name '*.c' -o \
-name '*.h' \
\) \
-print \
-exec 'clang-format' '-i' '{}' \;