The repo has a .clang-format defined, but since there is nothing enforcing it, it is possible to commit code not properly formatted.
Executed the following command from Command Prompt in the root of the repository, without any other changes:
for /r %a in (*.cpp *.h *.hpp) do "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\bin\clang-format.exe" -i "%a"
Here's the clang version used:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\bin\clang-format.exe" --version
clang-format version 12.0.0
The repo has a .clang-format defined, but since there is nothing enforcing it, it is possible to commit code not properly formatted.
Executed the following command from Command Prompt in the root of the repository, without any other changes:
for /r %a in (*.cpp *.h *.hpp) do "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\bin\clang-format.exe" -i "%a"
Here's the clang version used: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\bin\clang-format.exe" --version clang-format version 12.0.0