summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRSimpleVals.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-23 20:12:28 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-23 20:12:28 +0000
commitdd43aeee54c15d2ce2a8cf612e8c1e59c2492c64 (patch)
tree8e747f80ef4f02caa87833c02f5418f5118f67b4 /clang/lib/Analysis/GRSimpleVals.cpp
parent6e9185093d65865ba8f1b1c27ce2874e737e297b (diff)
downloadbcm5719-llvm-dd43aeee54c15d2ce2a8cf612e8c1e59c2492c64.tar.gz
bcm5719-llvm-dd43aeee54c15d2ce2a8cf612e8c1e59c2492c64.zip
Fixed: <rdar://problem/5881148>
Problem: In the recently refactored VisitDeref (which processes dereferences), we were incorrectly skipping the node just generated for the subexpression of the dereference. This was a horrible regression. llvm-svn: 50176
Diffstat (limited to 'clang/lib/Analysis/GRSimpleVals.cpp')
-rw-r--r--clang/lib/Analysis/GRSimpleVals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRSimpleVals.cpp b/clang/lib/Analysis/GRSimpleVals.cpp
index e41df7662c2..42cce94c9b7 100644
--- a/clang/lib/Analysis/GRSimpleVals.cpp
+++ b/clang/lib/Analysis/GRSimpleVals.cpp
@@ -557,7 +557,7 @@ RVal GRSimpleVals::EvalNE(GRExprEngine& Eng, LVal L, LVal R) {
void GRSimpleVals::EvalCall(ExplodedNodeSet<ValueState>& Dst,
GRExprEngine& Eng,
GRStmtNodeBuilder<ValueState>& Builder,
- CallExpr* CE, LVal L,
+ CallExpr* CE, RVal L,
ExplodedNode<ValueState>* Pred) {
ValueStateManager& StateMgr = Eng.getStateManager();
OpenPOWER on IntegriCloud