summaryrefslogtreecommitdiffstats
path: root/clang/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
commit360a66e3d9f54f1fe239fc0cb60632cd531fce8a (patch)
tree8b8257e4720f1af8e0e8a64101ddabad194e1787 /clang/lib/Serialization/ASTWriterDecl.cpp
parente6e5406122898eaf29581f2c6fbee7c26e325328 (diff)
downloadbcm5719-llvm-360a66e3d9f54f1fe239fc0cb60632cd531fce8a.tar.gz
bcm5719-llvm-360a66e3d9f54f1fe239fc0cb60632cd531fce8a.zip
Don't separately serialize the list of instance variables in an
Objective-C class. The AST reader just throws away this data anyway! llvm-svn: 149067
Diffstat (limited to 'clang/lib/Serialization/ASTWriterDecl.cpp')
-rw-r--r--clang/lib/Serialization/ASTWriterDecl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Serialization/ASTWriterDecl.cpp b/clang/lib/Serialization/ASTWriterDecl.cpp
index 4e8a4cf0d69..a6fae4f20da 100644
--- a/clang/lib/Serialization/ASTWriterDecl.cpp
+++ b/clang/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);
}
OpenPOWER on IntegriCloud