remove the warning. We don't control what users do, and this code

is run for perfectly reasonable things like NSString* because type
layout is recursive.

llvm-svn: 68104
This commit is contained in:
Chris Lattner 2009-03-31 09:04:50 +00:00
parent 6d35cc945f
commit 733dc19be6
1 changed files with 0 additions and 6 deletions

View File

@ -334,12 +334,6 @@ const llvm::Type *CodeGenTypes::ConvertNewType(QualType T) {
ConvertTypeRecursive(QualType(cast<ExtQualType>(Ty).getBaseType(), 0));
case Type::ObjCInterface: {
// Warning: Use of this is strongly discouraged. Late binding of instance
// variables is supported on some runtimes and so using static binding can
// break code when libraries are updated. Only use this if you have
// previously checked that the ObjCRuntime subclass in use does not support
// late-bound ivars.
// We are issuing warnings elsewhere!
ObjCInterfaceDecl *ID = cast<ObjCInterfaceType>(Ty).getDecl();
return ConvertTagDeclType(Context.addRecordToClass(ID));
}