зеркало из https://github.com/microsoft/clang-1.git
remove a dead prototype
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
c90dd0c682
Коммит
636efb6ee4
|
@ -333,16 +333,17 @@ const llvm::Type *CodeGenTypes::ConvertNewType(QualType T) {
|
|||
return
|
||||
ConvertTypeRecursive(QualType(cast<ExtQualType>(Ty).getBaseType(), 0));
|
||||
|
||||
case Type::ObjCQualifiedInterface: {
|
||||
// Lower foo<P1,P2> just like foo.
|
||||
ObjCInterfaceDecl *ID = cast<ObjCQualifiedInterfaceType>(Ty).getDecl();
|
||||
return ConvertTypeRecursive(Context.getObjCInterfaceType(ID));
|
||||
}
|
||||
|
||||
case Type::ObjCInterface: {
|
||||
ObjCInterfaceDecl *ID = cast<ObjCInterfaceType>(Ty).getDecl();
|
||||
return ConvertTagDeclType(Context.addRecordToClass(ID));
|
||||
}
|
||||
|
||||
case Type::ObjCQualifiedInterface: {
|
||||
ObjCInterfaceDecl *ID = cast<ObjCQualifiedInterfaceType>(Ty).getDecl();
|
||||
return ConvertTypeRecursive(Context.getObjCInterfaceType(ID));
|
||||
}
|
||||
|
||||
case Type::ObjCQualifiedId:
|
||||
case Type::ObjCQualifiedClass:
|
||||
// Protocols don't influence the LLVM type.
|
||||
|
|
|
@ -153,8 +153,6 @@ public:
|
|||
bool IsVariadic);
|
||||
|
||||
const CGRecordLayout *getCGRecordLayout(const TagDecl*) const;
|
||||
/// Returns a StructType representing an Objective-C object
|
||||
const llvm::Type *ConvertObjCInterfaceToStruct(const ObjCInterfaceDecl *OID);
|
||||
|
||||
/// getLLVMFieldNo - Return llvm::StructType element number
|
||||
/// that corresponds to the field FD.
|
||||
|
|
Загрузка…
Ссылка в новой задаче