From: Ted Kremenek Date: Thu, 11 Mar 2010 00:36:10 +0000 (+0000) Subject: Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=568eb6c87896db19dfb27b394669e05b8cbb27b3;p=clang Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality has migrated to DeclContext. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98213 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 889e0d6c1b..18819087ae 100644 --- a/include/clang/AST/DeclObjC.h +++ b/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 IVars; - /// List of categories defined for this class. /// FIXME: Why is this a linked list?? ObjCCategoryDecl *CategoryList; diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index 67b71a0c44..c94a551ae2 100644 --- a/lib/AST/DeclObjC.cpp +++ b/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