NeKon69 wrote:

> I feel this should be part of [lifetime safety 
> analysis](https://clang.llvm.org/docs/LifetimeSafety.html), but it currently 
> don't model lambda captures/threads I think?

We do model lambda captures: https://godbolt.org/z/9Y7PYcfsf, but yes threads 
we do not model yet. Though it definitely would be nice to have!

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

Reply via email to