Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality

has migrated to DeclContext.

llvm-svn: 98213
This commit is contained in:
Ted Kremenek 2010-03-11 00:36:10 +00:00
parent a179e4d0a8
commit e0966be5ce
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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