summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprClassification.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/ExprClassification.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/ExprClassification.cpp')
-rw-r--r--clang/lib/AST/ExprClassification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ExprClassification.cpp b/clang/lib/AST/ExprClassification.cpp
index f24ddcbb732..4025f18a3b4 100644
--- a/clang/lib/AST/ExprClassification.cpp
+++ b/clang/lib/AST/ExprClassification.cpp
@@ -529,7 +529,7 @@ static Cl::ModifiableType IsModifiable(ASTContext &Ctx, const Expr *E,
return Cl::CM_Modifiable;
}
-Expr::isLvalueResult Expr::isLvalue(ASTContext &Ctx) const {
+Expr::LValueClassification Expr::ClassifyLValue(ASTContext &Ctx) const {
Classification VC = Classify(Ctx);
switch (VC.getKind()) {
case Cl::CL_LValue: return LV_Valid;
OpenPOWER on IntegriCloud