aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-04-21 23:53:32 +0000
committerTed Kremenek <kremenek@apple.com>2009-04-21 23:53:32 +0000
commit868210e64ee979670424fd160b85744b8281b310 (patch)
tree7e1f14a56ee9cf84de051328d6b30056cc6bd971 /lib/Analysis/GRExprEngine.cpp
parent7ac48d23d9c15bf797013f016f3890f0d7f04c8f (diff)
Fix crash reported in PR 3991. The analyzer doesn't reason about ObjCKVCExpr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r--lib/Analysis/GRExprEngine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 4b540e78d5..4db00d2a6b 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -486,6 +486,7 @@ void GRExprEngine::VisitLValue(Expr* Ex, NodeTy* Pred, NodeSet& Dst) {
return;
case Stmt::ObjCPropertyRefExprClass:
+ case Stmt::ObjCKVCRefExprClass:
// FIXME: Property assignments are lvalues, but not really "locations".
// e.g.: self.x = something;
// Here the "self.x" really can translate to a method call (setter) when