summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BasicConstraintManager.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-11-27 02:39:34 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-11-27 02:39:34 +0000
commitb94f440754ba6cf35800352007ee87581984b641 (patch)
tree6ba95c853f1b8d085fdf7588a22c882b2532e334 /clang/lib/Analysis/BasicConstraintManager.cpp
parentb133907e619bf2ab9f0943d52ac937a5b19ad0b7 (diff)
downloadbcm5719-llvm-b94f440754ba6cf35800352007ee87581984b641.tar.gz
bcm5719-llvm-b94f440754ba6cf35800352007ee87581984b641.zip
Add comments.
llvm-svn: 60146
Diffstat (limited to 'clang/lib/Analysis/BasicConstraintManager.cpp')
-rw-r--r--clang/lib/Analysis/BasicConstraintManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Analysis/BasicConstraintManager.cpp b/clang/lib/Analysis/BasicConstraintManager.cpp
index 6f62c4ba772..7bed3931bf0 100644
--- a/clang/lib/Analysis/BasicConstraintManager.cpp
+++ b/clang/lib/Analysis/BasicConstraintManager.cpp
@@ -448,6 +448,8 @@ bool BasicConstraintManager::isEqual(const GRState* St, SymbolID sym,
return T ? **T == V : false;
}
+/// Scan all symbols referenced by the constraints. If the symbol is not alive
+/// as marked in LSymbols, mark it as dead in DSymbols.
const GRState* BasicConstraintManager::RemoveDeadBindings(const GRState* St,
StoreManager::LiveSymbolsTy& LSymbols,
StoreManager::DeadSymbolsTy& DSymbols) {
OpenPOWER on IntegriCloud