[clang-tools-extra] [clang-tidy][cppcoreguidelines-missing-std-forward] Do not warn when the parameter is used in a `static_cast`. (PR #99477)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 20 08:58:39 PDT 2024
https://github.com/5chmidti commented:
In your documentation, you say that this change allows for the use of a `static_cast` to use the parameter as an l-value reference. But your pr title and description sound like any reference category is allowed. I think only the l-value reference part is intended (it's the only cast that makes sense to allow IMO)?
https://github.com/llvm/llvm-project/pull/99477
More information about the cfe-commits
mailing list