diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-03-11 00:36:10 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-03-11 00:36:10 +0000 |
commit | 568eb6c87896db19dfb27b394669e05b8cbb27b3 (patch) | |
tree | 00e61780f31b08391b540110ed0a60ce12e2296a | |
parent | 9dc82d2193971ed57dc657dbd21249a2c57da376 (diff) |
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
-rw-r--r-- | include/clang/AST/DeclObjC.h | 3 | ||||
-rw-r--r-- | lib/AST/DeclObjC.cpp | 1 |
2 files changed, 0 insertions, 4 deletions
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<ObjCIvarDecl> 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 |