diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-21 21:37:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-21 21:37:25 +0000 |
commit | c4f38851e6f9c8be727c7c38d289694fba292e8d (patch) | |
tree | 100e2c132de1da2a8af7367d76b48b8e1b814ffc /clang/lib/Sema/SemaDecl.cpp | |
parent | c7ef3cb43fcedef99a661e0893b34b58e59e7c9e (diff) | |
download | bcm5719-llvm-c4f38851e6f9c8be727c7c38d289694fba292e8d.tar.gz bcm5719-llvm-c4f38851e6f9c8be727c7c38d289694fba292e8d.zip |
Don't add isa with @defs only to work around it in the code generator, patch
by David Chisnall.
llvm-svn: 52597
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index ee1aad54ed0..c2874106f4e 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -1751,10 +1751,6 @@ void Sema::ActOnDefs(Scope *S, SourceLocation DeclStart, Diag(DeclStart, diag::err_undef_interface, ClassName->getName()); return; } - // Add the isa pointer - Decls.push_back(FieldDecl::Create(Context, SourceLocation(), - &Context.Idents.get("isa"), - Context.getObjCClassType())); // Collect the instance variables CollectIvars(Class, Decls); } |