[clang-tools-extra] [clang-tidy] Reland "An option for conditional skipping overloaded functions in modernize-use-string-view" (PR #196387)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat May 9 03:29:04 PDT 2026


================
@@ -0,0 +1,147 @@
+// RUN: %check_clang_tidy -check-suffix=DONTCHECK \
+// RUN: -std=c++20-or-later %s modernize-use-string-view %t -- \
----------------
vbvictor wrote:

Previous tests used `-std=c++17-or-later`, can we place c++20 code under ifdef and use c++17

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


More information about the cfe-commits mailing list