[clang] [Lifetime Safety] Highlight lifetimebound calls in alias chain diagnostics (PR #206337)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 6 06:13:02 PDT 2026
================
@@ -11069,6 +11069,8 @@ def note_lifetime_safety_escapes_to_global_here: Note<"escapes to this global st
def note_lifetime_safety_escapes_to_static_storage_here: Note<"escapes to this static storage">;
def note_lifetime_safety_lifetimebound_here: Note<"'lifetimebound' attribute appears here on the definition">;
def note_lifetime_safety_aliases_storage : Note<"%0 aliases the storage of %1">;
+def note_lifetime_safety_aliases_storage_lifetimebound : Note<
+ "%0 aliases the storage of %1 because %2 is marked [[clang::lifetimebound]]">;
----------------
iitianpushkar wrote:
Fine.
https://github.com/llvm/llvm-project/pull/206337
More information about the cfe-commits
mailing list