diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-08-20 06:23:25 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-08-20 06:23:25 +0000 |
commit | 60d2ec57650362f59204d4aafb3d18f26b666299 (patch) | |
tree | 7bfca94c76073ceeb71ad192a8241669d15b04ea /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | |
parent | 876e34b7b5ee76eeca9e0f80ab1119d6b357932b (diff) | |
download | bcm5719-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.cpp | 3 |
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: { |