[all-commits] [llvm/llvm-project] b7ee03: [clang-include-fixer] Use heterogenous lookups wit...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Nov 6 08:35:46 PST 2024


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

  Changed paths:
    M clang-tools-extra/clang-include-fixer/InMemorySymbolIndex.cpp
    M clang-tools-extra/clang-include-fixer/InMemorySymbolIndex.h

  Log Message:
  -----------
  [clang-include-fixer] Use heterogenous lookups with std::map (NFC) (#115113)

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