afegida carpeta tools/linter

This commit is contained in:
2025-10-27 09:22:57 +01:00
parent 17101a3da1
commit 231dcd4b3b
9 changed files with 749 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# Per a un fitxer, desde l'arrel del projecte executar:
clang-tidy source/fitxer.cpp -p build/ --fix
# Per a varios fitxers, desde l'arrel:
find source/ \( -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) | \
xargs -P4 -I{} bash -c 'echo "Procesando: {}"; clang-tidy {} -p build/ --fix'