]> granicus.if.org Git - clang/commitdiff
Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality
authorTed Kremenek <kremenek@apple.com>
Thu, 11 Mar 2010 00:36:10 +0000 (00:36 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 11 Mar 2010 00:36:10 +0000 (00:36 +0000)
has migrated to DeclContext.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98213 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclObjC.h
lib/AST/DeclObjC.cpp

index 889e0d6c1be8a9293f25bdd0390d51569c0ec4ba..18819087ae7ac6057b3a026e9093a05ffa551fbb 100644 (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;
index 67b71a0c44e56bc93f623163558b79209514ece0..c94a551ae2075d2301b6be6fb2413fb367fd9b42 100644 (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