Endilll wrote: > (IIRC codegen also goes through a bunch of reconstruction of argument lists, > and there have been bugs due to that previously as well -- simply having the > NewExpr containing the correct expressions might be an improvement this path > would provide, etc)
This makes sense to me, but it's worth keeping in mind that because of default arguments of allocation functions, the argument list used for overload resolution can differ from the actual arguments passed when the selected deallocation function is called, so there's still work to be done in the CodeGen. https://github.com/llvm/llvm-project/pull/203824 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
