diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-21 00:06:20 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-21 00:06:20 +0000 |
commit | 1559d67b7a68c6ae91431996842fd7777fbd72ac (patch) | |
tree | 8fd80a64fa5496d2a5f356595c87d53be3430eee /clang/lib/Frontend/PCHWriter.cpp | |
parent | 43cee935ae6ccef48852ba52f581edb20a386c49 (diff) | |
download | bcm5719-llvm-1559d67b7a68c6ae91431996842fd7777fbd72ac.tar.gz bcm5719-llvm-1559d67b7a68c6ae91431996842fd7777fbd72ac.zip |
Remove the ObjCCategoryImpls vector from Sema class.
Use ObjCInterfaceDecl::getCategoryClassMethod() and ObjCInterfaceDecl::getCategoryInstanceMethod() for the same functionality.
llvm-svn: 76510
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHWriter.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp index 0a0202ba01d..13f564d012b 100644 --- a/clang/lib/Frontend/PCHWriter.cpp +++ b/clang/lib/Frontend/PCHWriter.cpp @@ -385,7 +385,6 @@ void PCHWriter::WriteBlockInfoBlock() { RECORD(SOURCE_LOCATION_PRELOADS); RECORD(STAT_CACHE); RECORD(EXT_VECTOR_DECLS); - RECORD(OBJC_CATEGORY_IMPLEMENTATIONS); RECORD(COMMENT_RANGES); // SourceManager Block. @@ -1820,12 +1819,6 @@ void PCHWriter::WritePCH(Sema &SemaRef, MemorizeStatCalls *StatCalls, for (unsigned I = 0, N = SemaRef.ExtVectorDecls.size(); I != N; ++I) AddDeclRef(SemaRef.ExtVectorDecls[I], ExtVectorDecls); - // Build a record containing all of the Objective-C category - // implementations. - RecordData ObjCCategoryImpls; - for (unsigned I = 0, N = SemaRef.ObjCCategoryImpls.size(); I != N; ++I) - AddDeclRef(SemaRef.ObjCCategoryImpls[I], ObjCCategoryImpls); - // Write the remaining PCH contents. RecordData Record; Stream.EnterSubblock(pch::PCH_BLOCK_ID, 4); @@ -1903,10 +1896,6 @@ void PCHWriter::WritePCH(Sema &SemaRef, MemorizeStatCalls *StatCalls, // Write the record containing ext_vector type names. if (!ExtVectorDecls.empty()) Stream.EmitRecord(pch::EXT_VECTOR_DECLS, ExtVectorDecls); - - // Write the record containing Objective-C category implementations. - if (!ObjCCategoryImpls.empty()) - Stream.EmitRecord(pch::OBJC_CATEGORY_IMPLEMENTATIONS, ObjCCategoryImpls); // Some simple statistics Record.clear(); |