llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-libcxx Author: None (llvmbot) <details> <summary>Changes</summary> Backport ec56790c3b27df4fa1513594ca9a74fd8ad5bf7f Requested by: @<!-- -->ldionne --- Full diff: https://github.com/llvm/llvm-project/pull/106788.diff 1 Files Affected: - (modified) libcxx/include/format (+6-6) ``````````diff diff --git a/libcxx/include/format b/libcxx/include/format index c3f2b45f0f7305..a88b3ef8528e2d 100644 --- a/libcxx/include/format +++ b/libcxx/include/format @@ -237,21 +237,21 @@ namespace std { # include <cstdint> # include <cstdlib> # include <cstring> -# include <cwchar> # include <initializer_list> # include <limits> +# include <locale> # include <new> # include <optional> +# include <queue> +# include <stack> # include <stdexcept> # include <string> # include <string_view> # include <tuple> -#endif -#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 -# include <locale> -# include <queue> -# include <stack> +# if !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) +# include <cwchar> +# endif #endif #endif // _LIBCPP_FORMAT `````````` </details> https://github.com/llvm/llvm-project/pull/106788 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits