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

Dmitry Polukhin via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 05:10:00 PDT 2025


================
@@ -265,6 +265,8 @@ Changes in existing checks
   <clang-tidy/checks/performance/unnecessary-value-param>` check performance by
   tolerating fix-it breaking compilation when functions is used as pointers
   to avoid matching usage of functions within the current compilation unit.
+  Added an option `IsAllowedInCoroutines` with the default value ``false`` to
----------------
dmpolukhin wrote:

Done

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


More information about the cfe-commits mailing list