forked from OSchip/llvm-project
Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality
has migrated to DeclContext. llvm-svn: 98213
This commit is contained in:
parent
a179e4d0a8
commit
e0966be5ce
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue