diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-04-18 19:57:06 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-04-18 19:57:06 +0000 |
| commit | 87be603c1b19f691bcb8579d74f9812ff8797026 (patch) | |
| tree | ae5d03187b520777b8c23940ea44e47b97133369 /lib/Serialization/GlobalModuleIndex.cpp | |
| parent | b74c92761add617dd99a353fea54b3c71ed3dc78 (diff) | |
| download | clang-87be603c1b19f691bcb8579d74f9812ff8797026.tar.gz clang-87be603c1b19f691bcb8579d74f9812ff8797026.tar.bz2 clang-87be603c1b19f691bcb8579d74f9812ff8797026.tar.xz | |
Remove OnDiskHashTable.h, since it's been moved to llvm
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/GlobalModuleIndex.cpp')
| -rw-r--r-- | lib/Serialization/GlobalModuleIndex.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Serialization/GlobalModuleIndex.cpp b/lib/Serialization/GlobalModuleIndex.cpp index 631683d92f..1649476342 100644 --- a/lib/Serialization/GlobalModuleIndex.cpp +++ b/lib/Serialization/GlobalModuleIndex.cpp @@ -13,7 +13,6 @@ #include "ASTReaderInternals.h" #include "clang/Basic/FileManager.h" -#include "clang/Basic/OnDiskHashTable.h" #include "clang/Lex/HeaderSearch.h" #include "clang/Serialization/ASTBitCodes.h" #include "clang/Serialization/GlobalModuleIndex.h" @@ -27,6 +26,7 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/LockFileManager.h" #include "llvm/Support/MemoryBuffer.h" +#include "llvm/Support/OnDiskHashTable.h" #include "llvm/Support/Path.h" #include <cstdio> using namespace clang; @@ -115,7 +115,7 @@ public: } }; -typedef OnDiskIterableChainedHashTable<IdentifierIndexReaderTrait> +typedef llvm::OnDiskIterableChainedHashTable<IdentifierIndexReaderTrait> IdentifierIndexTable; } @@ -611,9 +611,8 @@ bool GlobalModuleIndexBuilder::loadModuleFile(const FileEntry *File) { // Handle the identifier table if (State == ASTBlock && Code == IDENTIFIER_TABLE && Record[0] > 0) { - typedef - OnDiskIterableChainedHashTable<InterestingASTIdentifierLookupTrait> - InterestingIdentifierTable; + typedef llvm::OnDiskIterableChainedHashTable< + InterestingASTIdentifierLookupTrait> InterestingIdentifierTable; std::unique_ptr<InterestingIdentifierTable> Table( InterestingIdentifierTable::Create( (const unsigned char *)Blob.data() + Record[0], @@ -718,7 +717,7 @@ void GlobalModuleIndexBuilder::writeIndex(llvm::BitstreamWriter &Stream) { // Write the identifier -> module file mapping. { - OnDiskChainedHashTableGenerator<IdentifierIndexWriterTrait> Generator; + llvm::OnDiskChainedHashTableGenerator<IdentifierIndexWriterTrait> Generator; IdentifierIndexWriterTrait Trait; // Populate the hash table. |
