anchor.diff:  set LLVMINC=%LLVMSOURCE%\include
   
   SET RETURN=0
  -set FIX=
  -set FORMAT=Check
  +set FORMATFIX=
  +set TIDYFIX=
  +set FORMAT=Yes
   set TIDY=Yes
  +set BASE=origin
  +set TIDYCHECKS=llvm*,misc*,microsoft*
   
   :parse
   
  
positive.code: REM ***********************************************
  
  echo.Usage: ccFormat [/Check] [/Fix] [/?]
  echo.  /fix      Fix failures when possible
  echo.  /untidy   Don't run clang-tidy
  echo.  /noformat Don't run clang-format
  echo.  /help     Display this help message.
  echo.
  echo.Requirements:
  echo.  Environment variables: LLVMSOURCE, LLVMBUILD
  echo.  Tools (on path): clang-format.exe, clang-tidy.exe
  echo.
  
  :done 
  
negative.code: if "%1"=="" (
      goto done_parsing
  ) else if /I .%1==./fix ( 
      set FORMATFIX=-i
      set TIDYFIX=-fix
  ) else if /I .%1==./untidy ( 
      set TIDY=No
  ) else if /I .%1==./noformat ( 
      set FORMAT=No    
  ) else if /I .%1==./checks (     
      set TIDYCHECKS=%2
      shift /1
  ) else if /I .%1==./base (
      set BASE=%2
      shift /1
  ) else if /I .%1==./help ( 
      goto help   
  ) else if /I .%1==./? ( 
  