Cleaning up some /W4 errors.

This commit is contained in:
Ben Vanik
2015-07-18 16:40:22 -07:00
parent e0eb85bbbc
commit 4128727f6b
4 changed files with 16 additions and 4 deletions

9
xb.bat
View File

@@ -671,6 +671,15 @@ IF %ALL% NEQ 1 (
)
)
POPD
PUSHD third_party\elemental-forms\src
FOR /R %%G in (*.cc *.c *.h *.inl) DO (
ECHO ^> clang-format %%G
CMD /C %CLANG_FORMAT% -i -style=file %%G
IF !ERRORLEVEL! NEQ 0 (
SET ANY_ERRORS=1
)
)
POPD
)
IF %ANY_ERRORS% NEQ 0 (
ECHO.