Re: Minor cleanup to cp/decl.cc

2024-11-14 Thread Jason Merrill
On 11/14/24 4:04 PM, Jan Hubicka wrote: Hi, this patch refactors slightly cp/decl.cc so code producing new and delete operators is not duplicated multiple times. I also broke out cxx_init_operator_new_delete_decls which I originally inteded to use for builtion_operator_new/delete which is solved

Minor cleanup to cp/decl.cc

2024-11-14 Thread Jan Hubicka
Hi, this patch refactors slightly cp/decl.cc so code producing new and delete operators is not duplicated multiple times. I also broke out cxx_init_operator_new_delete_decls which I originally inteded to use for builtion_operator_new/delete which is solved better by Jakub's patch, but it seems to