[clang] [analyzer] Do list initialization for CXXNewExpr with initializer list arg (PR #127702)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 21 12:41:29 PST 2025
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
More information about the cfe-commits
mailing list