Is there any official directive in .clang-format
file to exclude directory for applying?
Projects sometimes use git submodule
, but it is not useful to run clang-format
over all directory and then use git checkout
to undo changes in submodule folder.
I have found some related links:
But they don't seem official.