[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:04:04 PST 2026


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

Same to overloads in nesting structs like

```
struct A {
  foo()
  struct B {
    foo();
  }
}
```

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


More information about the cfe-commits mailing list