aboutsummaryrefslogtreecommitdiff
path: root/PxShared/buildtools/clang-format
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
committerMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
commitd243404d4ba88bcf53f7310cc8980b4efe38c19f (patch)
treedcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /PxShared/buildtools/clang-format
parentAdd new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff)
downloadnvcloth-d243404d4ba88bcf53f7310cc8980b4efe38c19f.tar.xz
nvcloth-d243404d4ba88bcf53f7310cc8980b4efe38c19f.zip
1.1.6 Release.1.1.6
Diffstat (limited to 'PxShared/buildtools/clang-format')
-rw-r--r--PxShared/buildtools/clang-format/clang-format-all.bat24
-rw-r--r--PxShared/buildtools/clang-format/clang-format-p4.bat24
-rw-r--r--PxShared/buildtools/clang-format/clang-format.exebin2377728 -> 0 bytes
-rw-r--r--PxShared/buildtools/clang-format/directories.txt4
4 files changed, 0 insertions, 52 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
-)
diff --git a/PxShared/buildtools/clang-format/clang-format-p4.bat b/PxShared/buildtools/clang-format/clang-format-p4.bat
deleted file mode 100644
index 0b246e3..0000000
--- a/PxShared/buildtools/clang-format/clang-format-p4.bat
+++ /dev/null
@@ -1,24 +0,0 @@
-@echo off
-setlocal
-
-set BLAST_PATH=..\..
-
-if "%*"=="" (
- echo Usage: format-change.bat ^<p4 changelist #^>
- exit /b
-)
-
-set change=%~1
-for /F %%d IN (directories.txt) do (
- call :format %BLAST_PATH%\%%d
-)
-
-exit /b
-
-:format
-for /F "delims=#" %%a in ('p4 opened -c %change% %~f1\....h, %~f1\....cpp, %~f1\....cu, %~f1\....hlsl 2^> NUL') do (
- for /F "tokens=3" %%f IN ('p4 where %%a') do (
- echo %%f
- clang-format.exe -i %%f
- )
-)
diff --git a/PxShared/buildtools/clang-format/clang-format.exe b/PxShared/buildtools/clang-format/clang-format.exe
deleted file mode 100644
index 9c91ddf..0000000
--- a/PxShared/buildtools/clang-format/clang-format.exe
+++ /dev/null
Binary files differ
diff --git a/PxShared/buildtools/clang-format/directories.txt b/PxShared/buildtools/clang-format/directories.txt
deleted file mode 100644
index 1dc947f..0000000
--- a/PxShared/buildtools/clang-format/directories.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-source\common
-source\extensions
-source\solver
-shared\utils