[clang-tools-extra] [clang-tidy][cppcoreguidelines-missing-std-forward] Fix false positive for constrained template parameters (PR #182038)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 21 11:43:54 PST 2026
================
@@ -0,0 +1,49 @@
+// RUN: %check_clang_tidy -std=c++23 %s cppcoreguidelines-missing-std-forward %t -- -- -fno-delayed-template-parsing
----------------
vbvictor wrote:
```suggestion
// RUN: %check_clang_tidy -std=c++23-or-later %s cppcoreguidelines-missing-std-forward %t -- -- -fno-delayed-template-parsing
```
https://github.com/llvm/llvm-project/pull/182038
More information about the cfe-commits
mailing list