[clang-tools-extra] [clang-tidy][performance-unnecessary-value-param] Avoid in coroutines (PR #140912)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 13 01:43:41 PDT 2025


================
@@ -0,0 +1,65 @@
+// RUN: %check_clang_tidy -std=c++20-or-later %s performance-unnecessary-value-param %t -- -fix-errors
----------------
vbvictor wrote:

Do we need to have all 3 run commands? I suppose only 2 are needed, for `Coroutines = true` and `Coroutines = false`

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


More information about the cfe-commits mailing list