[cfe-dev] Configure clang-format to traverse subdirectories?
achartier at fastmail.fm
achartier at fastmail.fm
Wed Jun 11 18:27:38 PDT 2014
Hello,
I would like to run clang-format on a large codebase. I noticed that you
can use wildcards to specify input files to clang-format, however these
wildcards seem to only pick up files in the current directory and not
subdirectories. Is there a way to specify a recursive search with a
wildcard (similar to Artistic Style's --recursive option:
http://astyle.sourceforge.net/astyle.html#_recursive)? Perhaps using a
special wildcard syntax I'm not aware of?
If this isn't currently a feature, what's the likelihood it could make
it in the upcoming release? I have found Artistic Style's --recursive
and --exclude options quite powerful and useful and would love to see
similar functionality in clang-format.
Thanks!
More information about the cfe-dev
mailing list