diff options
author | Kazu Hirata <kazu@google.com> | 2024-11-12 10:08:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 10:08:59 -0800 |
commit | dfb864a735da9153ab8a4bb107d4b01ac81ee364 (patch) | |
tree | 7bbe120fd829b2353d5f2c055febfa32e279dcc3 /llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp | |
parent | 853d52b8384951167214f81066e316d78f389c28 (diff) | |
download | llvm-dfb864a735da9153ab8a4bb107d4b01ac81ee364.zip llvm-dfb864a735da9153ab8a4bb107d4b01ac81ee364.tar.gz llvm-dfb864a735da9153ab8a4bb107d4b01ac81ee364.tar.bz2 |
[TableGen] Use heterogenous lookups with std::map (NFC) (#115810)
Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.
This patch introduces alias:
using DiagsInGroup = std::map<std::string, GroupInfo, std::less<>>;
because the raw type is a bit mouthful.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp')
0 files changed, 0 insertions, 0 deletions