[cfe-commits] r91615 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Thu Dec 17 12:10:17 PST 2009


Author: kremenek
Date: Thu Dec 17 14:10:17 2009
New Revision: 91615

URL: http://llvm.org/viewvc/llvm-project?rev=91615&view=rev
Log:
Tweak formatting and comments.

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=91615&r1=91614&r2=91615&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu Dec 17 14:10:17 2009
@@ -1607,17 +1607,15 @@
       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);
   }





More information about the cfe-commits mailing list