usx95 wrote:

Good point.

> Is the plan to manually distinguish between these cases? 
Most likely yes. We could inspect a sample of such instances.

Also, one other option to distinguish these is lifetimebound on `Vector::data`. 
If the pointer is owned, then it would have a `lifetimebound`; if not, we can 
mark it lifetimebound (again some manual filtering here).

https://github.com/llvm/llvm-project/pull/229784
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to