clang-format file should have a leading dot
The clang-format
file should have a leading dot (.clang-format
), see the documentation at https://clang.llvm.org/docs/ClangFormat.html.
This also helps IDEs to automatically find the file and apply it.