From 73490b890977362d28dd6326843a1ecae413921d Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Fri, 23 Oct 2009 14:22:18 +0000 Subject: Update clang to r84949. --- lib/CodeGen/CGExprConstant.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/CodeGen/CGExprConstant.cpp') diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 7f540c3c0688..fc3748c8e3c8 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -542,7 +542,11 @@ public: return CS; } } - + + case CastExpr::CK_BitCast: + // This must be a member function pointer cast. + return Visit(E->getSubExpr()); + default: { // FIXME: This should be handled by the CK_NoOp cast kind. // Explicit and implicit no-op casts -- cgit v1.3