diff options
Diffstat (limited to 'clang/lib/Lex/PTHLexer.cpp')
| -rw-r--r-- | clang/lib/Lex/PTHLexer.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp index 1ca16d39b4d..f30e12157fe 100644 --- a/clang/lib/Lex/PTHLexer.cpp +++ b/clang/lib/Lex/PTHLexer.cpp @@ -15,7 +15,6 @@ #include "clang/Basic/FileManager.h" #include "clang/Basic/FileSystemStatCache.h" #include "clang/Basic/IdentifierTable.h" -#include "clang/Basic/OnDiskHashTable.h" #include "clang/Basic/TokenKinds.h" #include "clang/Lex/LexDiagnostic.h" #include "clang/Lex/PTHManager.h" @@ -25,10 +24,10 @@ #include "llvm/ADT/StringMap.h" #include "llvm/Support/EndianStream.h" #include "llvm/Support/MemoryBuffer.h" +#include "llvm/Support/OnDiskHashTable.h" #include "llvm/Support/system_error.h" #include <memory> using namespace clang; -using namespace clang::io; #define DISK_TOKEN_SIZE (1+1+2+4+4) @@ -409,8 +408,8 @@ public: } // end anonymous namespace -typedef OnDiskChainedHashTable<PTHFileLookupTrait> PTHFileLookup; -typedef OnDiskChainedHashTable<PTHStringLookupTrait> PTHStringIdLookup; +typedef llvm::OnDiskChainedHashTable<PTHFileLookupTrait> PTHFileLookup; +typedef llvm::OnDiskChainedHashTable<PTHStringLookupTrait> PTHStringIdLookup; //===----------------------------------------------------------------------===// // PTHManager methods. @@ -693,7 +692,7 @@ public: }; class PTHStatCache : public FileSystemStatCache { - typedef OnDiskChainedHashTable<PTHStatLookupTrait> CacheTy; + typedef llvm::OnDiskChainedHashTable<PTHStatLookupTrait> CacheTy; CacheTy Cache; public: |

