https://github.com/cor3ntin commented:

Missing changelog.

Otherwise, I think it makes sense even if I sort of hate it, as it relies on 
`TryCopyInitialization` looking at the location and nothing else.

I wonder if we could get rid of `CallExpr::CreateTemporary` and instead
create something like an `OpaqueValueExpr` for the purpose of determining an 
initialization sequence.

(We should only need some expression with a type, a location, and a value 
category, afaik)


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

Reply via email to