[all-commits] [llvm/llvm-project] cf1c55: FileManager: std::map => BumpPtrAllocator + DenseM...

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Apr 5 10:55:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf1c5507b7259de219c45d601ee3249993263ec1
      https://github.com/llvm/llvm-project/commit/cf1c5507b7259de219c45d601ee3249993263ec1
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M clang/include/clang/Basic/FileManager.h
    M clang/lib/Basic/FileManager.cpp

  Log Message:
  -----------
  FileManager: std::map => BumpPtrAllocator + DenseMap of pointers. NFC

This is both smaller and faster.

Differential Revision: https://reviews.llvm.org/D123144




More information about the All-commits mailing list