On Windows use a BumpPtrAllocator for the UniqueFileContainer's StringMap.

llvm-svn: 63162
This commit is contained in:
Ted Kremenek 2009-01-28 01:01:07 +00:00
parent e4510972a6
commit 1502b7e288
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public:
class FileManager::UniqueFileContainer {
/// UniqueFiles - Cache from full path to existing directories/files.
///
llvm::StringMap<FileEntry> UniqueFiles;
llvm::StringMap<FileEntry, llvm::BumpPtrAllocator> UniqueFiles;
public:
FileEntry &getFile(const char *Name, struct stat &StatBuf) {