[all-commits] [llvm/llvm-project] 962aa2: [libc++] Don't instantiate allocators in __tree on...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Sun May 18 03:38:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 962aa2666fe8aa99e25bb255a99d3ab02d8441b4
https://github.com/llvm/llvm-project/commit/962aa2666fe8aa99e25bb255a99d3ab02d8441b4
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2025-05-18 (Sun, 18 May 2025)
Changed paths:
M libcxx/include/map
M libcxx/test/std/containers/associative/map/incomplete_type.pass.cpp
M libcxx/test/support/min_allocator.h
Log Message:
-----------
[libc++] Don't instantiate allocators in __tree on an incomplete type (#140225)
This causes a mismatch between `value_type` and
`allocator_type::value_type` in `__tree`, but I think that's acceptable.
`__tree` primarily gets a `__value_type` wrapper due to potential ABI
breaks and unwraps it to the same as `allocator_type::value_type` in the
end. A cleanup patch will also change `__tree::value_type` to be the
same as `allocator_type::value_type`, making the type mismatch only
visible where `__tree` is instantiated in `map`.
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