diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-26 17:31:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-26 17:31:14 +0000 |
commit | ed0cc2269b93508c51e3a31f3922ee2efea875b7 (patch) | |
tree | c3df9fdd784f6f3949b9743538a8b30bbb0a3400 /lib/Serialization/ASTReaderDecl.cpp | |
parent | a2a50282c34b6e1f95c5a14c5e2b8927c34427de (diff) |
Don't separately serialize the list of instance variables in an
Objective-C class. The AST reader just throws away this data anyway!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTReaderDecl.cpp')
-rw-r--r-- | lib/Serialization/ASTReaderDecl.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Serialization/ASTReaderDecl.cpp b/lib/Serialization/ASTReaderDecl.cpp index 1f908e7651..a1f1933920 100644 --- a/lib/Serialization/ASTReaderDecl.cpp +++ b/lib/Serialization/ASTReaderDecl.cpp @@ -705,13 +705,6 @@ void ASTDeclReader::VisitObjCInterfaceDecl(ObjCInterfaceDecl *ID) { ID->data().AllReferencedProtocols.set(Protocols.data(), NumProtocols, Reader.getContext()); - // Read the ivars. - unsigned NumIvars = Record[Idx++]; - SmallVector<ObjCIvarDecl *, 16> IVars; - IVars.reserve(NumIvars); - for (unsigned I = 0; I != NumIvars; ++I) - IVars.push_back(ReadDeclAs<ObjCIvarDecl>(Record, Idx)); - // Read the categories. ID->setCategoryList(ReadDeclAs<ObjCCategoryDecl>(Record, Idx)); |