summaryrefslogtreecommitdiffstats
path: root/clang/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
commitc4f38851e6f9c8be727c7c38d289694fba292e8d (patch)
tree100e2c132de1da2a8af7367d76b48b8e1b814ffc /clang/lib/Sema/SemaDecl.cpp
parentc7ef3cb43fcedef99a661e0893b34b58e59e7c9e (diff)
downloadbcm5719-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.cpp4
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);
}
OpenPOWER on IntegriCloud