]> granicus.if.org Git - clang/commitdiff
Bug fix in transfer function for ObjCMessageExpr: Visit the receiver expression as...
authorTed Kremenek <kremenek@apple.com>
Wed, 26 Mar 2008 21:36:08 +0000 (21:36 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 26 Mar 2008 21:36:08 +0000 (21:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48842 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index 889d525215f5fd68ff0665846784bc65ee500cf2..03f7d1dca837a70efebe141c505ded9e530239fa 100644 (file)
@@ -1097,7 +1097,7 @@ void GRExprEngine::VisitObjCMessageExprArgHelper(ObjCMessageExpr* ME,
     
     if (Expr* Receiver = ME->getReceiver()) {
       NodeSet Tmp;
-      VisitLVal(Receiver, Pred, Tmp);
+      Visit(Receiver, Pred, Tmp);
             
       for (NodeSet::iterator NI = Tmp.begin(), NE = Tmp.end(); NI != NE; ++NI)
         VisitObjCMessageExprDispatchHelper(ME, *NI, Dst);