aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-10-16 02:35:04 +0000
committerAnders Carlsson <andersca@mac.com>2009-10-16 02:35:04 +0000
commitebeaf2031c968143c531bfe232d7507f20c57347 (patch)
tree495356a7dc7028d739c21b79d9ce8bbde83efea4 /lib/AST/Expr.cpp
parent5a3ce9b10c164d9bf75a70d429e55d4e171a9a9e (diff)
Add a ToVoid cast kind and start using it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84241 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 0e4a29f916..fa999ffe35 100644
--- a/lib/AST/Expr.cpp
+++ b/lib/AST/Expr.cpp
@@ -426,6 +426,8 @@ const char *CastExpr::getCastKindName() const {
return "IntegralToPointer";
case CastExpr::CK_PointerToIntegral:
return "PointerToIntegral";
+ case CastExpr::CK_ToVoid:
+ return "ToVoid";
}
assert(0 && "Unhandled cast kind!");