From e24f5fc8c763f1b5536b8d70dd510ca959db3a80 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 17 Nov 2011 22:56:20 +0000 Subject: Constant expression evaluation: add support for evaluation of member pointers and base-to-derived casts, and add proper handling of temporaries. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144926 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGExprConstant.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CodeGen/CGExprConstant.cpp') diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index 819fc3fa08..7485c71d7d 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -1074,6 +1074,7 @@ llvm::Constant *CodeGenModule::EmitConstantExpr(const Expr *E, case APValue::Array: case APValue::Struct: case APValue::Union: + case APValue::MemberPointer: break; } } -- cgit v1.2.3