usx95 wrote:

> One thing I am curious about is maybe we also want to update 
> `note_lifetime_safety_dangling_field_here` to say that it's global and name 
> the variable?

Yes. 

Note improvements are definitely warranted. Similar improvements can be done to 
"destroyed here" in UAS. "local temporary object destroyed at the end of 
full-expression here", "local variable 'a' destroyed at the end of scope here". 
Similar for "invalidated here".

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

Reply via email to