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 | 48af0e0a714121e45519378e2ba99b3bbe7bb007 (patch) | |
tree | 0cc9cfeacdb62e0264f2c6a60af4d2af8854a12f /clang/lib/Analysis/GRExprEngine.cpp | |
parent | df5561db78977e6140ccd025c4216c993f2c05d6 (diff) | |
download | bcm5719-llvm-48af0e0a714121e45519378e2ba99b3bbe7bb007.tar.gz bcm5719-llvm-48af0e0a714121e45519378e2ba99b3bbe7bb007.zip |
Tweak formatting and comments.
llvm-svn: 91615
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 9405db7ca9b..9b00d1e64aa 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/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); } |