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 | 18ae3cfe2a3ba43519ccd2f665892014c64e8d4a (patch) | |
tree | 17a1e49ef95f7bc3cc7558431698d9c014747fe9 /lib/Sema/SemaDecl.cpp | |
parent | 6ee1f9c0142e0c374f32fc86312630cd901247cf (diff) |
Don't add isa with @defs only to work around it in the code generator, patch
by David Chisnall.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index ee1aad54ed..c2874106f4 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/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); } |