diff options
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
| -rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index c9206110753..3e3792e21fe 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -1460,7 +1460,7 @@ bool Expr::isOBJCGCCandidate(ASTContext &Ctx) const { bool Expr::isBoundMemberFunction(ASTContext &Ctx) const { if (isTypeDependent()) return false; - return isLvalue(Ctx) == Expr::LV_MemberFunction; + return ClassifyLValue(Ctx) == Expr::LV_MemberFunction; } static Expr::CanThrowResult MergeCanThrow(Expr::CanThrowResult CT1, |

