diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-31 09:04:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-31 09:04:50 +0000 |
commit | c90dd0c682fe94b58ab3f95244f782d5f6159653 (patch) | |
tree | 32585afb4ebd20258ae6083c2d0dc04cf7b651f7 | |
parent | 16ff705a594697f98b9473f9b7e7d378f331fe4b (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68104 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CodeGenTypes.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index 62a77448be..06fee78e2e 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -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)); } |