[all-commits] [llvm/llvm-project] d3b339: [libc++] Don't instantiate allocators in __hash_ta...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sat Jul 12 23:59:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3b339e36debf208229e86bee3164bdf2ec24052
      https://github.com/llvm/llvm-project/commit/d3b339e36debf208229e86bee3164bdf2ec24052
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-07-13 (Sun, 13 Jul 2025)

  Changed paths:
    M libcxx/include/unordered_map
    M libcxx/test/std/containers/associative/multimap/incomplete_type.pass.cpp
    M libcxx/test/std/containers/unord/unord.map/incomplete_type.pass.cpp
    M libcxx/test/std/containers/unord/unord.multimap/incomplete.pass.cpp

  Log Message:
  -----------
  [libc++] Don't instantiate allocators in __hash_table on an incomplete type (#148353)

Currently, we try to instantiate the allocator on `__hash_value_type`,
which we don't define anymore. Instead, just use the
`map::allocator_type` to instantiate `__tree`, since that's what we
actually want anyways.



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