Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc++] Narrow the exports for common_type #111681

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libcxx/include/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ module std_core [system] {
module common_reference { header "__type_traits/common_reference.h" }
module common_type {
header "__type_traits/common_type.h"
// We need to export everything from this module because common_type inherits from __builtin_common_type,
// which needs to be re-exported.
export *
// We need to export those because common_type inherits from either of those based on __builtin_common_type.
export std_core.type_traits.type_identity
export std_core.utility_core.empty
}
module conditional { header "__type_traits/conditional.h" }
module conjunction { header "__type_traits/conjunction.h" }
Expand Down
Loading