[PATCH] D34654: Allow passing a regex for headers to exclude from clang-tidy

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 02:57:31 PDT 2017


alexfh added a comment.

I wonder whether anyone uses file patterns that need anything from regular expressions beyond `|` and `.*`. If not, globs (as used in -checks=) would be a better solution.

One problem with a header-filter + exclude-header-filter is that it doesn't make it easier to express restrictions similar to "everything under a/ (except for everything under a/b/ (except for everything under a/b/c/))".


Repository:
  rL LLVM

https://reviews.llvm.org/D34654





More information about the cfe-commits mailing list