mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Revert "[CLANG UPDATE!] Update uses of OnDiskChainedHashTable to the"
This reverts commit 7cb76d7defd3ca5c808d7f8952b6068c10cbce92. I missed a ClangModuleImporter test failure. Swift SVN r16338
This commit is contained in:
@@ -245,8 +245,7 @@ ModuleFile::readDeclTable(ArrayRef<uint64_t> fields, StringRef blobData) {
|
||||
auto base = reinterpret_cast<const uint8_t *>(blobData.data());
|
||||
|
||||
using OwnedTable = std::unique_ptr<SerializedDeclTable>;
|
||||
return OwnedTable(SerializedDeclTable::Create(base + tableOffset,
|
||||
base + sizeof(uint32_t), base));
|
||||
return OwnedTable(SerializedDeclTable::Create(base + tableOffset, base));
|
||||
}
|
||||
|
||||
static Optional<KnownProtocolKind> getActualKnownProtocol(unsigned rawKind) {
|
||||
@@ -438,9 +437,8 @@ ModuleFile::readDeclCommentTable(ArrayRef<uint64_t> fields,
|
||||
auto base = reinterpret_cast<const uint8_t *>(blobData.data());
|
||||
|
||||
return std::unique_ptr<SerializedDeclCommentTable>(
|
||||
SerializedDeclCommentTable::Create(base + tableOffset,
|
||||
base + sizeof(uint32_t), base,
|
||||
DeclCommentTableInfo(*this)));
|
||||
SerializedDeclCommentTable::Create(base + tableOffset, base,
|
||||
DeclCommentTableInfo(*this)));
|
||||
}
|
||||
|
||||
bool ModuleFile::readCommentBlock(llvm::BitstreamCursor &cursor) {
|
||||
|
||||
Reference in New Issue
Block a user