diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-01 16:31:47 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-01 16:31:47 -0700 |
| commit | bd680139d084b673d1f56d0e63e01936c4680a91 (patch) | |
| tree | f066c89b83db70814a23e5be9731686610fea92c /lib/libcxx/src/algorithm.cpp | |
| parent | c89dd15e1be4959800dc7092d7dd4375253db7bc (diff) | |
| download | zig-bd680139d084b673d1f56d0e63e01936c4680a91.tar.gz zig-bd680139d084b673d1f56d0e63e01936c4680a91.zip | |
update libcxx to llvm 14.0.6
Diffstat (limited to 'lib/libcxx/src/algorithm.cpp')
| -rw-r--r-- | lib/libcxx/src/algorithm.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libcxx/src/algorithm.cpp b/lib/libcxx/src/algorithm.cpp index 9f11dc38b1..4cc7c2725a 100644 --- a/lib/libcxx/src/algorithm.cpp +++ b/lib/libcxx/src/algorithm.cpp @@ -1,4 +1,4 @@ -//===----------------------- algorithm.cpp --------------------------------===// +//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -11,7 +11,9 @@ _LIBCPP_BEGIN_NAMESPACE_STD template void __sort<__less<char>&, char*>(char*, char*, __less<char>&); +#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS template void __sort<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&); +#endif template void __sort<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&); template void __sort<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&); template void __sort<__less<short>&, short*>(short*, short*, __less<short>&); @@ -27,7 +29,9 @@ template void __sort<__less<double>&, double*>(double*, double*, __less<double>& template void __sort<__less<long double>&, long double*>(long double*, long double*, __less<long double>&); template bool __insertion_sort_incomplete<__less<char>&, char*>(char*, char*, __less<char>&); +#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS template bool __insertion_sort_incomplete<__less<wchar_t>&, wchar_t*>(wchar_t*, wchar_t*, __less<wchar_t>&); +#endif template bool __insertion_sort_incomplete<__less<signed char>&, signed char*>(signed char*, signed char*, __less<signed char>&); template bool __insertion_sort_incomplete<__less<unsigned char>&, unsigned char*>(unsigned char*, unsigned char*, __less<unsigned char>&); template bool __insertion_sort_incomplete<__less<short>&, short*>(short*, short*, __less<short>&); |
