Skip to content

Commit 6a63706

Browse files
committed
More workaround for Clang bug
1 parent 94e66c6 commit 6a63706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libcxx/include/module.modulemap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ module std [system] {
15271527
module allocation_guard { header "__memory/allocation_guard.h" }
15281528
module allocator {
15291529
header "__memory/allocator.h"
1530-
export * // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
1530+
export std.new.allocate // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
15311531
}
15321532
module allocator_arg_t { header "__memory/allocator_arg_t.h" }
15331533
module allocator_destructor { header "__memory/allocator_destructor.h" }
@@ -1569,6 +1569,7 @@ module std [system] {
15691569
header "__memory/unique_temporary_buffer.h"
15701570
export std.memory.unique_ptr
15711571
export std_core.type_traits.is_constant_evaluated
1572+
export std.new.allocate // TODO: Workaround for https://github.com/llvm/llvm-project/issues/120108
15721573
}
15731574
module uses_allocator { header "__memory/uses_allocator.h" }
15741575
module uses_allocator_construction { header "__memory/uses_allocator_construction.h" }

0 commit comments

Comments
 (0)