[cfe-commits] r111897 - /cfe/trunk/lib/Checker/GRCXXExprEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Mon Aug 23 21:26:56 PDT 2010


Author: zhongxingxu
Date: Mon Aug 23 23:26:55 2010
New Revision: 111897

URL: http://llvm.org/viewvc/llvm-project?rev=111897&view=rev
Log:
Improve comments.

Modified:
    cfe/trunk/lib/Checker/GRCXXExprEngine.cpp

Modified: cfe/trunk/lib/Checker/GRCXXExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/GRCXXExprEngine.cpp?rev=111897&r1=111896&r2=111897&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/GRCXXExprEngine.cpp (original)
+++ cfe/trunk/lib/Checker/GRCXXExprEngine.cpp Mon Aug 23 23:26:55 2010
@@ -106,7 +106,8 @@
   for (ExplodedNodeSet::iterator NI = ArgsEvaluated.begin(),
                                  NE = ArgsEvaluated.end(); NI != NE; ++NI) {
     const GRState *state = GetState(*NI);
-    // Setup 'this' region.
+    // Setup 'this' region, so that the ctor is evaluated on the object pointed
+    // by 'Dest'.
     state = state->bindLoc(loc::MemRegionVal(ThisR), Dest);
     ExplodedNode *N = Builder->generateNode(Loc, state, Pred);
     if (N)





More information about the cfe-commits mailing list