[clang] [Lifetime Safety] Highlight lifetimebound calls in alias chain diagnostics (PR #206337)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 9 04:06:44 PDT 2026


================
@@ -49,6 +51,14 @@ enum class WarningScope {
   IntraTU  // For warnings on functions local to a Translation Unit.
 };
 
+using LifetimeBoundParamInfo =
+    llvm::PointerUnion<const ParmVarDecl *, const CXXMethodDecl *>;
+
+struct AliasChainEntry {
----------------
iitianpushkar wrote:

Agreed. Will keep it in mind when updating the patch.

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


More information about the cfe-commits mailing list