aboutsummaryrefslogtreecommitdiff
path: root/lib/Serialization/ASTWriterDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-26 17:31:14 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-26 17:31:14 +0000
commited0cc2269b93508c51e3a31f3922ee2efea875b7 (patch)
treec3df9fdd784f6f3949b9743538a8b30bbb0a3400 /lib/Serialization/ASTWriterDecl.cpp
parenta2a50282c34b6e1f95c5a14c5e2b8927c34427de (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/ASTWriterDecl.cpp')
-rw-r--r--lib/Serialization/ASTWriterDecl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Serialization/ASTWriterDecl.cpp b/lib/Serialization/ASTWriterDecl.cpp
index 4e8a4cf0d6..a6fae4f20d 100644
--- a/lib/Serialization/ASTWriterDecl.cpp
+++ b/lib/Serialization/ASTWriterDecl.cpp
@@ -481,12 +481,6 @@ void ASTDeclWriter::VisitObjCInterfaceDecl(ObjCInterfaceDecl *D) {
P != PEnd; ++P)
Writer.AddDeclRef(*P, Record);
- // Write out the ivars.
- Record.push_back(D->ivar_size());
- for (ObjCInterfaceDecl::ivar_iterator I = D->ivar_begin(),
- IEnd = D->ivar_end(); I != IEnd; ++I)
- Writer.AddDeclRef(*I, Record);
-
Writer.AddDeclRef(D->getCategoryList(), Record);
}