diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-12-17 20:10:17 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-12-17 20:10:17 +0000 |
commit | 7f14e6f23b0899ed0969cbebef7785f00d488372 (patch) | |
tree | 712f9ccffac528dc87c6e00175f682aa67743c9c /lib/Analysis/GRExprEngine.cpp | |
parent | 3cead901aab394fe8e84953235959ece8002854f (diff) |
Tweak formatting and comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 9405db7ca9..9b00d1e64a 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1607,17 +1607,15 @@ void GRExprEngine::VisitCall(CallExpr* CE, ExplodedNode* Pred, WorkList.push_back(CallExprWLItem(Item.I, *NI)); } - // Now process the call itself. First evaluate the callee. + // Now process the call itself. ExplodedNodeSet DstTmp; Expr* Callee = CE->getCallee()->IgnoreParens(); for (ExplodedNodeSet::iterator NI=ArgsEvaluated.begin(), - NE=ArgsEvaluated.end(); - NI != NE; ++NI) { - + NE=ArgsEvaluated.end(); NI != NE; ++NI) { + // Evaluate the callee. ExplodedNodeSet DstTmp2; - Visit(Callee, *NI, DstTmp2); - + Visit(Callee, *NI, DstTmp2); // Perform the previsit of the CallExpr, storing the results in DstTmp. CheckerVisit(CE, DstTmp, DstTmp2, true); } |