From ba09cbb1a9b64a0822d0edf2c8462ef5384a4a14 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Sat, 20 Nov 2010 08:17:16 +0000 Subject: [PATCH] Add comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119900 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Checker/GRCoreEngine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Checker/GRCoreEngine.cpp b/lib/Checker/GRCoreEngine.cpp index c77a0228e4..a121cbbcd1 100644 --- a/lib/Checker/GRCoreEngine.cpp +++ b/lib/Checker/GRCoreEngine.cpp @@ -795,7 +795,8 @@ void GRCallExitNodeBuilder::GenerateNode(const GRState *state) { // Get the callee's location context. const StackFrameContext *LocCtx = cast(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); -- 2.50.1