aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
-rw-r--r--lib/CodeGen/CodeGenTypes.cpp6
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));
}