[clang] [TableGen] Use heterogenous lookups with std::map (NFC) (PR #115633)

2024-11-10 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/115633 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [TableGen] Use heterogenous lookups with std::map (NFC) (PR #115633)

2024-11-10 Thread Nikita Popov via cfe-commits
https://github.com/nikic approved this pull request. https://github.com/llvm/llvm-project/pull/115633 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [TableGen] Use heterogenous lookups with std::map (NFC) (PR #115633)

2024-11-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes Heterogenous lookups allow us to call find with StringRef, avoiding a temporary heap allocation of std::string. --- Full diff: https://github.com/llvm/llvm-project/pull/115633.diff 1 Files Affected:

[clang] [TableGen] Use heterogenous lookups with std::map (NFC) (PR #115633)

2024-11-09 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/115633 Heterogenous lookups allow us to call find with StringRef, avoiding a temporary heap allocation of std::string. >From 555068b382041e37e00891416fee3cac7982f071 Mon Sep 17 00:00:00 2001 From: Kazu Hirata