commit | bc0e0781da778bd5eb41a810419912893ae20448 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Mon Nov 23 20:04:44 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Mon Nov 23 20:04:44 2009 +0000 |
tree | a68319f00ee065b9cf72a6f8518cf4dd7503c1cc | |
parent | a79f8b3989558884d9dbbbdbd4da861117345865 [diff] [blame] |
Handle converting member pointers to bool. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89692 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index 7c80f04..34790d2 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp
@@ -556,6 +556,8 @@ return "FloatingToIntegral"; case CastExpr::CK_FloatingCast: return "FloatingCast"; + case CastExpr::CK_MemberPointerToBoolean: + return "MemberPointerToBoolean"; } assert(0 && "Unhandled cast kind!");