Removing xdb and old tracing code before rewrite.

This commit is contained in:
Ben Vanik
2015-05-03 22:01:31 -07:00
parent d1ee1512b9
commit 4c8f3501ad
52 changed files with 14 additions and 1773 deletions

21
xb.bat
View File

@@ -464,20 +464,15 @@ IF %CLANG_FORMAT%=="" (
GOTO :eof
)
SET ANY_ERRORS=0
IF %ALL% NEQ 1 (
ECHO.
ECHO ^> git-clang-format
CMD /c python third_party/clang-format/git-clang-format --binary=%CLANG_FORMAT% --commit=HEAD
IF %ERRORLEVEL% NEQ 0 (
ECHO.
ECHO ERROR: clang-format failed - ensure all files are staged
ENDLOCAL & SET _RESULT=1
GOTO :eof
SET ANY_ERRORS=1
)
) ELSE (
SET ANY_ERRORS=0
ECHO.
ECHO ^> clang-format (all)
PUSHD src
FOR /R %%G in (*.cc *.c *.h *.inl) DO (
ECHO ^> clang-format %%G
@@ -487,12 +482,12 @@ IF %ALL% NEQ 1 (
)
)
POPD
IF %ANY_ERRORS% NEQ 0 (
ECHO.
ECHO ERROR: one or more clang-format calls failed
ENDLOCAL & SET _RESULT=1
GOTO :eof
)
)
IF %ANY_ERRORS% NEQ 0 (
ECHO.
ECHO ERROR: 1+ clang-format calls failed - ensure all files are staged
ENDLOCAL & SET _RESULT=1
GOTO :eof
)
ENDLOCAL & SET _RESULT=0