Xazax-hun wrote:

> I do not think we can extend the current check to return types. In fact, we 
> need to be quite permissive for these. This is the reason why we have 
> LifetimeAnnotatedOriginTypeCollector.

I wonder if it still makes sense to have an off by default warning for 
auditing. As in most users would never see this warning. That being said, the 
documentation probably should make it clear how we are usually relaxed about 
associating origins with certain types. 

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

Reply via email to