[clang-tools-extra] [clang-tidy] Skip overloaded functions in modernize-use-string-view (PR #183921)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 5 08:03:55 PST 2026


================
@@ -365,6 +365,13 @@ std::string lambda() {
   }();
 }
 
+namespace overloads {
----------------
vbvictor wrote:

Please add tests with overloads in different namespaces. e.g. `std::string ns::foo()` and `std::string foo()`

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


More information about the cfe-commits mailing list