From: Zhongxing Xu Date: Wed, 17 Nov 2010 07:31:08 +0000 (+0000) Subject: do not do post checks. Because at this point we just enter the call. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d6e89ee6176cc231c3fdc6bbbd06afc41b4bc1d;p=clang do not do post checks. Because at this point we just enter the call. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119480 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Checker/GRCXXExprEngine.cpp b/lib/Checker/GRCXXExprEngine.cpp index 1954c2d5d9..50f2cb51c0 100644 --- a/lib/Checker/GRCXXExprEngine.cpp +++ b/lib/Checker/GRCXXExprEngine.cpp @@ -192,10 +192,6 @@ void GRExprEngine::VisitCXXMemberCallExpr(const CXXMemberCallExpr *MCE, state = state->bindLoc(loc::MemRegionVal(ThisR),state->getSVal(ObjArgExpr)); SetupThis.Add(Builder->generateNode(Loc, state, *I)); } - - // Perform post-visit. - CheckerVisit(MCE, Dst, /* FIXME: don't forget to update later */ SetupThis, - PostVisitStmtCallback); } void GRExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,