[clang-tools-extra] [clang-tidy][performance-unnecessary-value-param] Avoid in coroutines (PR #140912)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 15 11:10:42 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
----------------
carlosgalvezp wrote:
Nit: typically we use the form `IgnoreX` for these types of things. I would then suggest naming the option `IgnoreCoroutines` and set it to `true` as default, i.e. revert the logic.
https://github.com/llvm/llvm-project/pull/140912
More information about the cfe-commits
mailing list