aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-11-12 10:08:59 -0800
committerGitHub <noreply@github.com>2024-11-12 10:08:59 -0800
commitdfb864a735da9153ab8a4bb107d4b01ac81ee364 (patch)
tree7bbe120fd829b2353d5f2c055febfa32e279dcc3 /llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp
parent853d52b8384951167214f81066e316d78f389c28 (diff)
downloadllvm-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