[clang-tools-extra] [clang-tidy] Add a new check 'performance-string-view-conversions' (PR #174288)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 20 07:17:21 PST 2026


================
@@ -0,0 +1,32 @@
+.. title:: clang-tidy - performance-string-view-conversions
+
+performance-string-view-conversions
+===================================
+
+Finds and removes redundant conversions from ``std::[w|u8|u16|u32]string_view``
+to ``std::[...]string`` in call expressions expecting ``std::[...]string_view``.
+
+
----------------
EugeneZelenko wrote:

```suggestion
```

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


More information about the cfe-commits mailing list