From: Zhongxing Xu Date: Wed, 9 Dec 2009 05:48:53 +0000 (+0000) Subject: Insert instead of assign to the dest node set, since we use the dest node set X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f68ea2a150b3e7a9c97aa4a79ce559550945cae;p=clang Insert instead of assign to the dest node set, since we use the dest node set repeatedly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90952 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 6104781007..dc317cf368 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/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();