https://github.com/usx95 commented:

Overall LGTM.

One more followup I would request is that we have a separate warning for 
dangling references to temporaries. We do not require "destroyed here". More 
helpful wording could be "temporary whose reference is captured is destroyed at 
the end of full expression". This can be done in a separate PR.

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

Reply via email to