forked from OSchip/llvm-project
Introduce an explicit case for member pointers in CodeGenTypes. However, it simply asserts.
llvm-svn: 62960
This commit is contained in:
parent
a865ade730
commit
8b2540439f
|
@ -312,6 +312,13 @@ const llvm::Type *CodeGenTypes::ConvertNewType(QualType T) {
|
|||
return llvm::PointerType::get(ConvertTypeRecursive(FTy),
|
||||
FTy.getAddressSpace());
|
||||
}
|
||||
|
||||
case Type::MemberPointer:
|
||||
// FIXME: Implement C++ pointer-to-member. The GCC representation is
|
||||
// documented here:
|
||||
// http://gcc.gnu.org/onlinedocs/gccint/Type-Layout.html#Type-Layout
|
||||
assert(0 && "FIXME: We can't handle member pointers yet.");
|
||||
return llvm::OpaqueType::get();
|
||||
}
|
||||
|
||||
// FIXME: implement.
|
||||
|
|
Loading…
Reference in New Issue