[clang] [LifetimeSafety] Use buildOriginFlowChain for remaining diagnostics in issuePendingWarnings (PR #212083)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 02:16:12 PDT 2026


================
@@ -226,6 +231,9 @@ class LifetimeSafetySemaHelperImpl : public LifetimeSafetySemaHelper {
     if (MovedExpr)
       S.Diag(MovedExpr->getExprLoc(), diag::note_lifetime_safety_moved_here)
           << MovedExpr->getSourceRange();
+
+    reportAliasingChain(ExprChain);
+
----------------
usx95 wrote:

nit: remove the newlines to be consistent with rest of the places where this is used.

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


More information about the cfe-commits mailing list