aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BasicStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-04 02:06:04 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-04 02:06:04 +0000
commitde63bdcb5241b9d85d6ed5c572704e376f24b5c2 (patch)
tree5629bafcf169ecfbe5bd41650d8ae42414cb6124 /lib/Analysis/BasicStore.cpp
parent0b242ecdd5755e8662386b528aa0a5153ec0121b (diff)
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r--lib/Analysis/BasicStore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp
index e98975d637..963254ed5c 100644
--- a/lib/Analysis/BasicStore.cpp
+++ b/lib/Analysis/BasicStore.cpp
@@ -79,6 +79,9 @@ public:
return SelfRegion;
}
+ /// RemoveDeadBindings - Scans a BasicStore for dead values. It returns
+ /// a new Store with these values removed, and populates LSymbols and
+ /// DSymbols with the known set of live and dead symbols respectively.
Store RemoveDeadBindings(Store store, Stmt* Loc, const LiveVariables& Live,
llvm::SmallVectorImpl<const MemRegion*>& RegionRoots,
LiveSymbolsTy& LSymbols, DeadSymbolsTy& DSymbols);