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

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 03:19:12 PDT 2026


================
@@ -131,24 +131,37 @@ class ExpireFact : public Fact {
 };
 
 class OriginFlowFact : public Fact {
+public:
+  struct LifetimeBoundInfo {
----------------
iitianpushkar wrote:

Ohh, good point. I was mainly thinking to solve the issue somehow but was not focused on cost minimization. Your design actually saves the cost. Will update the patch accordingly.

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


More information about the cfe-commits mailing list