[libcxx][modularisation] moves <utility> content out of <type_traits>
Moves:
* `std::move`, `std::forward`, `std::declval`, and `std::swap` into
`__utility/${FUNCTION_NAME}`.
* `std::swap_ranges` and `std::iter_swap` into
`__algorithm/${FUNCTION_NAME}`
Differential Revision: https://reviews.llvm.org/D103734
NOKEYCHECK=True
GitOrigin-RevId: 6adbc83ee9e46b476e0f75d5671c3a21f675a936
diff --git a/include/module.modulemap b/include/module.modulemap
index dc89843..c5f9f43 100644
--- a/include/module.modulemap
+++ b/include/module.modulemap
@@ -666,9 +666,12 @@
export *
module __utility {
- module to_underlying {
- header "__utility/to_underlying.h"
- }
+ module __decay_copy { header "__utility/__decay_copy.h" }
+ module declval { header "__utility/declval.h" }
+ module forward { header "__utility/forward.h" }
+ module move { header "__utility/move.h" }
+ module swap { header "__utility/swap.h" }
+ module to_underlying { header "__utility/to_underlying.h" }
}
}
module valarray {