MyDeveloperDay added a comment.
================ Comment at: tools/clang-format/ClangFormat.cpp:345 + + Regex regex(FileNames[i]); + ---------------- I could imagine the path you supplying being just a directory . or ../../include/Format as much as a wild card, once in that directory I might want to you clang-format all the file types clang-format supports or just a few? how could we do that? it would be nice if we could supply multiple directories on the command line ```clang-format -r -i . .. ../include/Format``` I wonder if the wild card should act more like --gtest_filter ```--gtest_filter=POSTIVE_PATTERNS[-NEGATIVE_PATTERNS]``` or find's -iregex? Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D29039/new/ https://reviews.llvm.org/D29039 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits