[cfe-commits] r98213 - in /cfe/trunk: include/clang/AST/DeclObjC.h lib/AST/DeclObjC.cpp
Ted Kremenek
kremenek at apple.com
Wed Mar 10 16:36:10 PST 2010
Author: kremenek
Date: Wed Mar 10 18:36:10 2010
New Revision: 98213
URL: http://llvm.org/viewvc/llvm-project?rev=98213&view=rev
Log:
Remove unused 'IVars' field from ObjCInterfaceDecl. That functionality
has migrated to DeclContext.
Modified:
cfe/trunk/include/clang/AST/DeclObjC.h
cfe/trunk/lib/AST/DeclObjC.cpp
Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=98213&r1=98212&r2=98213&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Wed Mar 10 18:36:10 2010
@@ -445,9 +445,6 @@
/// 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;
Modified: cfe/trunk/lib/AST/DeclObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclObjC.cpp?rev=98213&r1=98212&r2=98213&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclObjC.cpp (original)
+++ cfe/trunk/lib/AST/DeclObjC.cpp Wed Mar 10 18:36:10 2010
@@ -441,7 +441,6 @@
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
More information about the cfe-commits
mailing list