[clang] [analyzer] Improve dangling value tracking in DanglingPtrDeref (PR #211818)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 01:59:05 PDT 2026


================
@@ -87,6 +87,14 @@ static ProgramStateRef bindSource(ProgramStateRef State, SVal RetVal,
   return State;
 }
 
+std::string lifetime_modeling::getRegionName(const MemRegion *Reg) {
----------------
isuckatcs wrote:

I'm thinking merging this patch as 2 different commits. IIUC there is a functional change that introduces calling `bugreporter::trackExpressionValue()`, and there is a non-functional change that moves this method here from a different place.

WDYT?

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


More information about the cfe-commits mailing list