[clang-tools-extra] [clang-tidy] An option for conditional skipping overloaded functions … (PR #194133)

Zinovy Nis via cfe-commits cfe-commits at lists.llvm.org
Mon May 4 23:16:20 PDT 2026


================
@@ -42,6 +42,10 @@ class UseStringViewCheck : public ClangTidyCheck {
   StringRef U32StringViewClass = "std::u32string_view";
 
   const std::vector<StringRef> IgnoredFunctions;
+  // If true, the check will also consider overloaded functions for
+  // string_view conversion suggestions. When false (default), overloaded
+  // functions are skipped to avoid potential issues with ambiguous conversions.
----------------
irishrover wrote:

I'd ask you not to revert this PR and let me few days to fix your remarks.

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


More information about the cfe-commits mailing list