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 | 360a66e3d9f54f1fe239fc0cb60632cd531fce8a (patch) | |
tree | 8b8257e4720f1af8e0e8a64101ddabad194e1787 /clang/lib/Serialization/ASTWriterDecl.cpp | |
parent | e6e5406122898eaf29581f2c6fbee7c26e325328 (diff) | |
download | bcm5719-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.cpp | 6 |
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); } |