[clang] [LifetimeSafety] resolved lifetimeBound violation in constructor (PR #204797)
Jiaqi He via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 22 01:33:07 PDT 2026
================
@@ -135,7 +135,10 @@ class LifetimeChecker {
return;
if (PVD->hasAttr<LifetimeBoundAttr>()) {
// Track that this lifetimebound parameter correctly escapes.
- if (isa<ReturnEscapeFact>(OEF))
+ bool isVerifiedEscape =
----------------
heturing wrote:
I've inline the bool.
https://github.com/llvm/llvm-project/pull/204797
More information about the cfe-commits
mailing list