[clang-tools-extra] [clang-tidy] Skip user headers named like C headers in `modernize-deprecated-headers` (PR #195507)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun May 3 20:12:08 PDT 2026


================
@@ -0,0 +1,9 @@
+// RUN: %check_clang_tidy -std=c++11 %s modernize-deprecated-headers %t -- -extra-arg-before=-iquote%S/Inputs/deprecated-headers/user -extra-arg-before=-isystem%S/Inputs/deprecated-headers
----------------
zeyi2 wrote:

Nice catch, thanks!

https://github.com/llvm/llvm-project/pull/195507


More information about the cfe-commits mailing list