[cfe-commits] r60622 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Fri Dec 5 18:39:31 PST 2008
Author: kremenek
Date: Fri Dec 5 20:39:30 2008
New Revision: 60622
URL: http://llvm.org/viewvc/llvm-project?rev=60622&view=rev
Log:
Add bandaid transfer function support for assignments involving ObjCKVCRefExpr.
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=60622&r1=60621&r2=60622&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Fri Dec 5 20:39:30 2008
@@ -2364,6 +2364,13 @@
Expr* LHS = B->getLHS()->IgnoreParens();
Expr* RHS = B->getRHS()->IgnoreParens();
+ // FIXME: Add proper support for ObjCKVCRefExpr.
+ if (isa<ObjCKVCRefExpr>(LHS)) {
+ Visit(RHS, Pred, Dst);
+ return;
+ }
+
+
if (B->isAssignmentOp())
VisitLValue(LHS, Pred, Tmp1);
else
More information about the cfe-commits
mailing list