Re: [PATCH] c++: remove LAMBDA_EXPR_CAPTURES_THIS_P

2025-01-30 Thread Jason Merrill
On 1/29/25 3:49 PM, Patrick Palka wrote: Built on x86_64-pc-linux-gnu, does this look OK for trunk? OK. -- >8 -- This unused accessor is just a simple alias of LAMBDA_EXPR_THIS_CAPTURE and contrary to the documentation doesn't actually use TREE_LANG_FLAG_0. Might as well remove it. gcc/cp/C

[PATCH] c++: remove LAMBDA_EXPR_CAPTURES_THIS_P

2025-01-29 Thread Patrick Palka
Built on x86_64-pc-linux-gnu, does this look OK for trunk? -- >8 -- This unused accessor is just a simple alias of LAMBDA_EXPR_THIS_CAPTURE and contrary to the documentation doesn't actually use TREE_LANG_FLAG_0. Might as well remove it. gcc/cp/ChangeLog: * cp-tree.h (LAMBDA_EXPR_CAPTUR