[clang] [LifetimeSafety] Suggest lifetime annotations (PR #169767)

Kashika Akhouri via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 28 02:26:36 PST 2025


================
@@ -10778,6 +10778,13 @@ def note_lifetime_safety_used_here : Note<"later used here">;
 def note_lifetime_safety_destroyed_here : Note<"destroyed here">;
 def note_lifetime_safety_returned_here : Note<"returned here">;
 
+def warn_lifetime_param_should_be_lifetimebound
----------------
kashika0112 wrote:

Done.

https://github.com/llvm/llvm-project/pull/169767


More information about the cfe-commits mailing list