summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-03-11 00:36:10 +0000
committerTed Kremenek <kremenek@apple.com>2010-03-11 00:36:10 +0000
commite0966be5ce9d0ce7f8069fec06ca16ed83bc702a (patch)
tree165d826a87765fb52e07f6c88438c7e1a08731d8 /clang
parenta179e4d0a8029bb4004d92343fb2c110f77060d7 (diff)
downloadbcm5719-llvm-e0966be5ce9d0ce7f8069fec06ca16ed83bc702a.tar.gz
bcm5719-llvm-e0966be5ce9d0ce7f8069fec06ca16ed83bc702a.zip
Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality
has migrated to DeclContext. llvm-svn: 98213
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/DeclObjC.h3
-rw-r--r--clang/lib/AST/DeclObjC.cpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/clang/include/clang/AST/DeclObjC.h b/clang/include/clang/AST/DeclObjC.h
index 889e0d6c1be..18819087ae7 100644
--- a/clang/include/clang/AST/DeclObjC.h
+++ b/clang/include/clang/AST/DeclObjC.h
@@ -445,9 +445,6 @@ class ObjCInterfaceDecl : public ObjCContainerDecl {
/// Protocols referenced in interface header declaration
ObjCProtocolList ReferencedProtocols;
- /// Instance variables in the interface. This list is completely redundant.
- ObjCList<ObjCIvarDecl> IVars;
-
/// List of categories defined for this class.
/// FIXME: Why is this a linked list??
ObjCCategoryDecl *CategoryList;
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 67b71a0c44e..c94a551ae20 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -441,7 +441,6 @@ void ObjCInterfaceDecl::Destroy(ASTContext &C) {
for (ivar_iterator I = ivar_begin(), E = ivar_end(); I != E; ++I)
if (*I) (*I)->Destroy(C);
- IVars.Destroy(C);
// FIXME: CategoryList?
// FIXME: Because there is no clear ownership
OpenPOWER on IntegriCloud