[clang-tools-extra] [clang-tidy] Emit deprecation warning for preformance-faster-string-find (PR #191922)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 14 07:22:57 PDT 2026
================
@@ -0,0 +1,32 @@
+// RUN: %check_clang_tidy %s performance-faster-string-find %t
+// RUN: %check_clang_tidy -check-suffix=CUSTOM %s performance-faster-string-find %t -- \
+// RUN: -config="{CheckOptions: \
+// RUN: {performance-faster-string-find.StringLikeClasses: \
+// RUN: '::llvm::StringRef;'}}"
----------------
vbvictor wrote:
I think we don't care about options here, can we just make minimal test-case for new diagnostic and that's it
https://github.com/llvm/llvm-project/pull/191922
More information about the cfe-commits
mailing list