Move DenseMapInfo traits to TypeSize.h
authorReid Kleckner <rnk@google.com>
Sat, 1 Feb 2020 00:44:07 +0000 (16:44 -0800)
committerReid Kleckner <rnk@google.com>
Sat, 1 Feb 2020 00:50:11 +0000 (16:50 -0800)
commit4b606b4af5da3553bf027d456689d2e10b17869b
tree73b433528dc01972d7724279860c5c1b8a555ed5
parent5b14abf0c1d0b64cbdba0c42957d55956374e5b8
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==.
llvm/include/llvm/ADT/DenseMapInfo.h
llvm/include/llvm/Support/TypeSize.h