diff options
author | Anna Zaks <ganna@apple.com> | 2012-05-19 00:22:07 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-05-19 00:22:07 +0000 |
commit | 591b5f53c0e11d87401b4804bb1be1a53f95c619 (patch) | |
tree | 642df1889c06294d36fafed3a654812e794d4987 /lib/StaticAnalyzer/Core/ObjCMessage.cpp | |
parent | ab7ad72f432810011041c5628b377f77cb1c81e6 (diff) |
[analyzer] For locations, use isGLValue() instead of isLValue().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ObjCMessage.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/ObjCMessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/ObjCMessage.cpp b/lib/StaticAnalyzer/Core/ObjCMessage.cpp index 4dc000f7bd..2003c8d29c 100644 --- a/lib/StaticAnalyzer/Core/ObjCMessage.cpp +++ b/lib/StaticAnalyzer/Core/ObjCMessage.cpp @@ -30,7 +30,7 @@ QualType CallOrObjCMessage::getResultType(ASTContext &ctx) const { } else { const CallExpr *FunctionCall = CallE.get<const CallExpr *>(); - isLVal = FunctionCall->isLValue(); + isLVal = FunctionCall->isGLValue(); const Expr *Callee = FunctionCall->getCallee(); if (const FunctionDecl *FD = State->getSVal(Callee, LCtx).getAsFunctionDecl()) resultTy = FD->getResultType(); |