[clang-tools-extra] [clang-tidy] Add a new check 'modernize-use-string-view' (PR #172170)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 18 03:09:08 PST 2026
================
@@ -0,0 +1,40 @@
+// RUN: %check_clang_tidy \
+// RUN: -std=c++20-or-later %s modernize-use-string-view %t -- \
----------------
vbvictor wrote:
```suggestion
// RUN: -std=c++17-or-later %s modernize-use-string-view %t -- \
```
https://github.com/llvm/llvm-project/pull/172170
More information about the cfe-commits
mailing list