[clang] [LifetimeSafety] resolved lifetimeBound violation in constructor (PR #204797)

Jiaqi He via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 01:38:15 PDT 2026


================
@@ -135,7 +135,10 @@ class LifetimeChecker {
         return;
       if (PVD->hasAttr<LifetimeBoundAttr>()) {
         // Track that this lifetimebound parameter correctly escapes.
----------------
heturing wrote:

Updated.

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


More information about the cfe-commits mailing list