]> granicus.if.org Git - clang/commit
More cleanups with using the liveness analysis to removed dead symbols and
authorTed Kremenek <kremenek@apple.com>
Mon, 10 Mar 2008 04:11:42 +0000 (04:11 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 10 Mar 2008 04:11:42 +0000 (04:11 +0000)
commit0d093d3005dd583675a45a85bd688063572cc8af
tree80cdb8a433cce07872799c04bef7113e7665f07d
parent512c913a6f93d225faacdb8e20308f5c4065c3eb
More cleanups with using the liveness analysis to removed dead symbols and
variables from the symbolic state. Now we keep a mapping from the predecessor
node of a statement and its cleaned state, and interpose an accessor
"GetState()" to return the cleaned state when the node is the predecessor node,
and the real state otherwise. This obviates problem of ever accidentally
cleaning the state more than once (thus blowing away new bindings by mistake).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48124 91177308-0d34-0410-b5e6-96231b3b80d8
Analysis/GRExprEngine.cpp
include/clang/Analysis/PathSensitive/GRExprEngine.h