Format C++ files
- Run clang-format.
- Add git pre-commit hook.
- Prepare CI check to ensure that C++ files are always formatted according to defined style. Note: this is disabled because it doesn't work currently. The CI applies some weird formatting (e.g. spaces around "->"). It doesn't happen when I try to reproduce it locally (with the same commands, the CI uses).
Edited by Plata Hill