[clang-tools-extra] [clang-tidy] Add `IgnoredFilesList` option to `readability-duplicate-include` (PR #168196)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 19 02:17:23 PST 2025
================
@@ -0,0 +1,24 @@
+// RUN: %check_clang_tidy %s readability-duplicate-include %t -- \
+// RUN: -config="{CheckOptions: {readability-duplicate-include.IgnoredFilesList: 'pack_.*\\.h'}}" -header-filter='' \
----------------
vbvictor wrote:
Can we write `-header-filter=''` on next line so that each line wouldn't be very long.
We of course don't enforce 80-char here but it's good to keep lines closer threshold when possible.
https://github.com/llvm/llvm-project/pull/168196
More information about the cfe-commits
mailing list