diff options
Diffstat (limited to 'PxShared/buildtools/clang-format/clang-format-all.bat')
| -rw-r--r-- | PxShared/buildtools/clang-format/clang-format-all.bat | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/PxShared/buildtools/clang-format/clang-format-all.bat b/PxShared/buildtools/clang-format/clang-format-all.bat deleted file mode 100644 index 1006b00..0000000 --- a/PxShared/buildtools/clang-format/clang-format-all.bat +++ /dev/null @@ -1,24 +0,0 @@ -@echo off -setlocal enabledelayedexpansion - -set BLAST_PATH=..\.. - -set /a count=0 -set /a fail=0 -for /F %%d IN (directories.txt) do ( - call :check %BLAST_PATH%\%%d -) - -echo %fail% of %count% files reformatted. -exit /b %fail% - -:check -for /R "%1" %%f in (*.h, *.cpp, *.cu, *.hlsl) do ( - p4 edit %%f - clang-format.exe -i %%f - if errorlevel 1 ( - echo %%f - set /a fail += 1 - ) - set /a count += 1 -) |