diff options
author | Chris Lattner <clattner@nondot.org> | 2020-04-11 22:33:06 -0700 |
---|---|---|
committer | Chris Lattner <clattner@nondot.org> | 2020-04-12 08:25:17 -0700 |
commit | 617b08ff9bef7b17957781682f78155351b0d2e9 (patch) | |
tree | d55b92811ad57aed3dbe301b5c8d3460988e77d2 /llvm/lib/Support/StringPool.cpp | |
parent | d04db4825a4d5f7fe298811a9a1644ae87748c6c (diff) | |
download | llvm-617b08ff9bef7b17957781682f78155351b0d2e9.zip llvm-617b08ff9bef7b17957781682f78155351b0d2e9.tar.gz llvm-617b08ff9bef7b17957781682f78155351b0d2e9.tar.bz2 |
Refactor StringMap.h, splitting StringMapEntry out to its own header.
Summary:
StringMapEntry.h can have lower dependencies, than StringMap.h, which
is useful for public headers that want to expose inline methods on
StringMapEntry<> but don't need to expose all of StringMap.h. One
example of this is mlir's Identifier.h, another example is the existing
LLVM StringPool.h.
StringPool also could use a cleanup, I'll deal with that in a follow-on
patch.
Reviewers: rriddle
Subscribers: hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77963
Diffstat (limited to 'llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions