aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-21 21:37:25 +0000
committerChris Lattner <sabre@nondot.org>2008-06-21 21:37:25 +0000
commit18ae3cfe2a3ba43519ccd2f665892014c64e8d4a (patch)
tree17a1e49ef95f7bc3cc7558431698d9c014747fe9 /lib/Sema/SemaDecl.cpp
parent6ee1f9c0142e0c374f32fc86312630cd901247cf (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.cpp4
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);
}