]> granicus.if.org Git - clang/commitdiff
Add comments.
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 20 Nov 2010 08:17:16 +0000 (08:17 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 20 Nov 2010 08:17:16 +0000 (08:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119900 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Checker/GRCoreEngine.cpp

index c77a0228e46c943a3cd1406ac0c5889031c81d45..a121cbbcd11bc7cfd7d0ee52188120e89e76a75f 100644 (file)
@@ -795,7 +795,8 @@ void GRCallExitNodeBuilder::GenerateNode(const GRState *state) {
   // 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);