aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-11-30 10:13:06 +0000
committerJohn McCall <rjmccall@apple.com>2010-11-30 10:13:06 +0000
commit7e4857931bfe27bb355275bc7ec1eaa44612dfff (patch)
tree6123b51c2efa712f7457976d989740be903a254a /lib/AST/Expr.cpp
parent6710cf1d5f3ab31524af6d72278ec5952f75b3c4 (diff)
Introduce an r-value to l-value cast kind. I'm not promising anything
about the reliability of this yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r--lib/AST/Expr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp
index 3a112a7e07..6e56603c53 100644
--- a/lib/AST/Expr.cpp
+++ b/lib/AST/Expr.cpp
@@ -822,6 +822,8 @@ const char *CastExpr::getCastKindName() const {
return "BitCast";
case CK_LValueBitCast:
return "LValueBitCast";
+ case CK_LValueToRValue:
+ return "LValueToRValue";
case CK_NoOp:
return "NoOp";
case CK_BaseToDerived: