From: Zhongxing Xu Date: Sat, 20 Nov 2010 08:17:16 +0000 (+0000) Subject: Add comments. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba09cbb1a9b64a0822d0edf2c8462ef5384a4a14;p=clang Add comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119900 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);