mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-12 13:28:37 +00:00
8 lines
260 B
Bash
8 lines
260 B
Bash
for f in *.cpp *.h *.hpp examples/cli/*.cpp examples/cli/*.h; do
|
|
[[ "$f" == vocab* ]] && continue
|
|
echo "formatting '$f'"
|
|
# if [ "$f" != "stable-diffusion.h" ]; then
|
|
# clang-tidy -fix -p build_linux/ "$f"
|
|
# fi
|
|
clang-format -style=file -i "$f"
|
|
done |