[all-commits] [llvm/llvm-project] 4b606b: Move DenseMapInfo traits to TypeSize.h

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Jan 31 16:54:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b606b4af5da3553bf027d456689d2e10b17869b
      https://github.com/llvm/llvm-project/commit/4b606b4af5da3553bf027d456689d2e10b17869b
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M llvm/include/llvm/ADT/DenseMapInfo.h
    M llvm/include/llvm/Support/TypeSize.h

  Log Message:
  -----------
  Move DenseMapInfo traits to TypeSize.h

Saves 2427 unneeded includes of TypeSize.h, which instantiates
std::tie<uint64_t, bool>, which instantiates std::tuple<uint64_t, bool>,
which is slow.

I'll remove the tie in a follow-up, since it's just for operator==.




More information about the All-commits mailing list