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 | 733dc19be6bb1c2e9e575ae72a6264d03e03eb18 (patch) | |
| tree | 7348d4879b78b117e460c2b08184c628a087e74d /clang/lib | |
| parent | 6d35cc945f6a73563069f772536015e8696b335c (diff) | |
| download | bcm5719-llvm-733dc19be6bb1c2e9e575ae72a6264d03e03eb18.tar.gz bcm5719-llvm-733dc19be6bb1c2e9e575ae72a6264d03e03eb18.zip | |
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
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenTypes.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CodeGenTypes.cpp b/clang/lib/CodeGen/CodeGenTypes.cpp index 62a77448bea..06fee78e2ea 100644 --- a/clang/lib/CodeGen/CodeGenTypes.cpp +++ b/clang/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)); } |

