diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-22 21:39:21 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-22 21:39:21 +0000 |
commit | a548846b471f7ca05ec6038c7d9d3b4d0de777cc (patch) | |
tree | c1058534cfcb155a4145715be9d2e41f2438f928 /lib/Analysis/CFRefCount.cpp | |
parent | 0fe33bc94a822e315585e5cde1964d3c3b9052f9 (diff) |
Added lval type (and tracking) for StringLiterals.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 253e00589e..499da2f85f 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -826,6 +826,8 @@ void CFRefCount::EvalCall(ExplodedNodeSet<ValueState>& Dst, // should compose behavior, not copy it. StateMgr.Unbind(StVals, cast<LVal>(V)); } + else if (isa<nonlval::LValAsInteger>(V)) + StateMgr.Unbind(StVals, cast<nonlval::LValAsInteger>(V).getLVal()); } St = StateMgr.getPersistentState(StVals); |