https://github.com/steakhal commented:

Technically, shouldn't one only use the return value of the placement new? 
Using the original object is technically UB (I know we accept it, and do the 
right thing, but anyways) maybe we should have a test demonstrating theat it 
would work with the ret val of placement new too.

https://github.com/llvm/llvm-project/pull/127702
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to