summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-08-20 06:23:25 +0000
committerTed Kremenek <kremenek@apple.com>2011-08-20 06:23:25 +0000
commit60d2ec57650362f59204d4aafb3d18f26b666299 (patch)
tree7bfca94c76073ceeb71ad192a8241669d15b04ea /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
parent876e34b7b5ee76eeca9e0f80ab1119d6b357932b (diff)
downloadbcm5719-llvm-60d2ec57650362f59204d4aafb3d18f26b666299.tar.gz
bcm5719-llvm-60d2ec57650362f59204d4aafb3d18f26b666299.zip
[analyzer] Handle reads of ObjCPropertyRefExprs implicitly in Environment. No need to bind an explicit value and create a new node.
llvm-svn: 138196
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index c1204479c60..1b72672dcaa 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -540,7 +540,8 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
break;
case Stmt::ObjCPropertyRefExprClass:
- VisitObjCPropertyRefExpr(cast<ObjCPropertyRefExpr>(S), Pred, Dst);
+ // Implicitly handled by Environment::getSVal().
+ Dst.Add(Pred);
break;
case Stmt::ImplicitValueInitExprClass: {
OpenPOWER on IntegriCloud