diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-26 22:21:58 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-26 22:21:58 +0000 |
commit | a056b4f7f03c79ae0ea21cc49947d21c973efcb3 (patch) | |
tree | df1bfe05d793aa4262f6a04a35e8c66137f31de8 /lib/Analysis/GRExprEngine.cpp | |
parent | 5f67d13b3bc1901cd77678fd2b1d73b99bd24913 (diff) |
Bug fix: use GetRVal instead of GetLVal (were getting the value of a DeclRefExpr, not it's address).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 03f7d1dca8..bce1cbd90c 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1128,7 +1128,7 @@ void GRExprEngine::VisitObjCMessageExprDispatchHelper(ObjCMessageExpr* ME, if (Expr* Receiver = ME->getReceiver()) { - RVal L = GetLVal(St, Receiver); + RVal L = GetRVal(St, Receiver); // Check for undefined control-flow or calls to NULL. |