summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-24 05:12:34 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-24 05:12:34 +0000
commit086a464e24de0d01fc9fa51cff73f3bbc4ac0ba3 (patch)
tree7c3525b9486d35300037036b925cb2276b2c5848 /clang/lib/AST/Expr.cpp
parente2ea8bf9454d5a2d4d0b8bcdd06662519ec7d5a0 (diff)
downloadbcm5719-llvm-086a464e24de0d01fc9fa51cff73f3bbc4ac0ba3.tar.gz
bcm5719-llvm-086a464e24de0d01fc9fa51cff73f3bbc4ac0ba3.zip
Switch a lot of call-sites over to using the new value-kind calculations.
llvm-svn: 120084
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
-rw-r--r--clang/lib/AST/Expr.cpp2
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,
OpenPOWER on IntegriCloud