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

via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 11 23:16:57 PDT 2026


================
@@ -670,14 +670,39 @@ class LifetimeSafetySemaHelperImpl : public LifetimeSafetySemaHelper {
 
     const Expr *LastExpr = OriginExprChain.back();
     std::string IssueStr = getDiagSubjectDescription(LastExpr);
+    std::optional<LifetimeBoundParamInfo> HiddenLifetimeBound;
----------------
iitianpushkar wrote:

Thanks, will update the patch following this approach.

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


More information about the cfe-commits mailing list