[all-commits] [llvm/llvm-project] 7bd9be: [Driver] Use heterogenous lookups with std::set (N...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Nov 7 10:54:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bd9be2e0a74e6d17ec3f95ff364a4461dec4dbe
      https://github.com/llvm/llvm-project/commit/7bd9be2e0a74e6d17ec3f95ff364a4461dec4dbe
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/HIPUtility.cpp

  Log Message:
  -----------
  [Driver] Use heterogenous lookups with std::set (NFC) (#115259)

Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list