[cfe-commits] r119900 - /cfe/trunk/lib/Checker/GRCoreEngine.cpp

Zhongxing Xu xuzhongxing at gmail.com
Sat Nov 20 00:17:16 PST 2010


Author: zhongxingxu
Date: Sat Nov 20 02:17:16 2010
New Revision: 119900

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

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

Modified: cfe/trunk/lib/Checker/GRCoreEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/GRCoreEngine.cpp?rev=119900&r1=119899&r2=119900&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/GRCoreEngine.cpp (original)
+++ cfe/trunk/lib/Checker/GRCoreEngine.cpp Sat Nov 20 02:17:16 2010
@@ -795,7 +795,8 @@
   // Get the callee's location context.
   const StackFrameContext *LocCtx 
                          = cast<StackFrameContext>(Pred->getLocationContext());
-
+  // When exiting an implicit automatic obj dtor call, the callsite is the Stmt
+  // that triggers the dtor.
   PostStmt Loc(LocCtx->getCallSite(), LocCtx->getParent());
   bool isNew;
   ExplodedNode *Node = Eng.G->getNode(Loc, state, &isNew);





More information about the cfe-commits mailing list