diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-12-14 02:13:39 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-12-14 02:13:39 +0000 |
commit | 7fbb1ba55857d9029eb13d1d3e51dd97f2d96372 (patch) | |
tree | fa371eca4eb1c7e59c27e6202ecf9aef05204380 /lib/Analysis/GRExprEngine.cpp | |
parent | e170ba7846bc4cae4b376b52eb4448645c141e59 (diff) |
Use insert to avoid destroying existing nodes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index fc7bd34661..4e88f18d0c 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -418,7 +418,7 @@ void GRExprEngine::ProcessStmt(Stmt* S, GRStmtNodeBuilder& builder) { CleanedState, SymReaper); if (Checkers.empty()) - Tmp = Tmp2; + Tmp.insert(Tmp2); else { ExplodedNodeSet Tmp3; ExplodedNodeSet *SrcSet = &Tmp2; |