зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
5f67d13b3b
Коммит
a056b4f7f0
|
@ -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.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче