summaryrefslogtreecommitdiffstats
path: root/clang/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
commitfe95afd0bcb0561492bf3c2c4427a8e6cd908e6b (patch)
tree8887c0a5fe41c6857d41d05ddeca27bd4d7cc612 /clang/lib/Analysis/GRExprEngine.cpp
parentdd9aba001d90a299a57673423b83ee8e180717fa (diff)
downloadbcm5719-llvm-fe95afd0bcb0561492bf3c2c4427a8e6cd908e6b.tar.gz
bcm5719-llvm-fe95afd0bcb0561492bf3c2c4427a8e6cd908e6b.zip
Fix crash reported in PR 3991. The analyzer doesn't reason about ObjCKVCExpr.
llvm-svn: 69754
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index 4b540e78d51..4db00d2a6b0 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud