FileManager: std::map => BumpPtrAllocator + DenseMap of pointers. NFC
authorSam McCall <sam.mccall@gmail.com>
Tue, 5 Apr 2022 16:56:05 +0000 (18:56 +0200)
committerSam McCall <sam.mccall@gmail.com>
Tue, 5 Apr 2022 17:54:44 +0000 (19:54 +0200)
commitcf1c5507b7259de219c45d601ee3249993263ec1
tree3562439d194b8b4ba086f6521cad422f91afc069
parent79ad5fb2959c076522e207433873bec4c1a48851
FileManager: std::map => BumpPtrAllocator + DenseMap of pointers. NFC

This is both smaller and faster.

Differential Revision: https://reviews.llvm.org/D123144
clang/include/clang/Basic/FileManager.h
clang/lib/Basic/FileManager.cpp