[clang] [analyzer] Discard non-live source frames from the current stack (PR #213779)

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 4 06:16:47 PDT 2026


================
@@ -89,6 +94,7 @@ static ProgramStateRef bindSource(ProgramStateRef State, SVal RetVal,
   LifetimeSourceSet Set = LSet ? *LSet : F.getEmptySet();
   Set = F.add(Set, Source);
   State = State->set<LifetimeBoundMap>(RetVal, Set);
+
----------------
benedekaibas wrote:

Applied changes here: [a65c222](https://github.com/llvm/llvm-project/pull/213779/commits/a65c222d404f3e0247b590fad87dd01fee8a6cc5)


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


More information about the cfe-commits mailing list