[clang-tools-extra] [clang-tidy] Fix FP/FN in cppcoreguidelines-missing-std-forward (PR #178651)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 07:54:20 PST 2026


================
@@ -182,6 +202,32 @@ void lambda_value_reference_auxiliary_var(T&& t) {
   [&x = t]() { T other = std::forward<T>(x); };
----------------
zwuis wrote:

"lambda_renamed_capture" is a duplicate of this test.

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


More information about the cfe-commits mailing list