[clang-tools-extra] [clang-tidy] Fix false negatives in performance-faster-string-find with libstdc++ (PR #185559)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 9 19:58:46 PDT 2026


================
@@ -5,6 +5,19 @@
 // RUN:                '::llvm::StringRef;'}}"
 #include <string>
 
+// Mock for libstdc++
----------------
zeyi2 wrote:

Not sure whether to move this mock into the `<string>`...

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


More information about the cfe-commits mailing list