diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-12-09 05:48:53 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-12-09 05:48:53 +0000 |
commit | d1dee7e71ac75550acdcda4ffb07bacf51efd2f0 (patch) | |
tree | 49d0dec4e334e93b41a7b9cfd6bfd81031dff681 /clang/lib/Analysis/GRExprEngine.cpp | |
parent | 1ab2b49e6d5a2cf417c7b8b0c9cfebf8e6cbc544 (diff) | |
download | bcm5719-llvm-d1dee7e71ac75550acdcda4ffb07bacf51efd2f0.tar.gz bcm5719-llvm-d1dee7e71ac75550acdcda4ffb07bacf51efd2f0.zip |
Insert instead of assign to the dest node set, since we use the dest node set
repeatedly.
llvm-svn: 90952
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 61047810071..dc317cf368f 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -1688,7 +1688,7 @@ void GRExprEngine::VisitCallRec(CallExpr* CE, ExplodedNode* Pred, // If the callee is processed by a checker, skip the rest logic. if (CheckerEvalCall(CE, DstChecker, *DI)) - DstTmp3 = DstChecker; + DstTmp3.insert(DstChecker); else { for (ExplodedNodeSet::iterator DI_Checker = DstChecker.begin(), DE_Checker = DstChecker.end(); |