[cfe-commits] r48842 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Wed Mar 26 14:36:09 PDT 2008
Author: kremenek
Date: Wed Mar 26 16:36:08 2008
New Revision: 48842
URL: http://llvm.org/viewvc/llvm-project?rev=48842&view=rev
Log:
Bug fix in transfer function for ObjCMessageExpr: Visit the receiver expression as an ordinary expression, not using VisitLVal.
Modified:
cfe/trunk/lib/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=48842&r1=48841&r2=48842&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Wed Mar 26 16:36:08 2008
@@ -1097,7 +1097,7 @@
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);
More information about the cfe-commits
mailing list