For automatic formatting of project files, the file format_all_files.bat is located in the root of the repositories.
It essentially calls .clang-format on all project files:
@echooffCDSourceFOR/R%%fIN (*.cpp, *.h,*.cs) DO (clang-format-i%%fecho%%f)
In order for the script to work correctly, you need to add the path to clang-format to your PATH environment variable. The program is located in the Visual Studio directory. 99% that you have the same path: