diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2015-08-04 01:38:34 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2015-08-04 01:38:34 +0000 |
| commit | 2d265aee083ed6a1ce1f51cac25ff70204aeeb77 (patch) | |
| tree | 5b27ee1c0115272732a16b243c70772c59ad5fd2 | |
| parent | 81fda188f96cf6fd06e6dcd4bec149e4cdf017b9 (diff) | |
| download | bcm5719-llvm-2d265aee083ed6a1ce1f51cac25ff70204aeeb77.tar.gz bcm5719-llvm-2d265aee083ed6a1ce1f51cac25ff70204aeeb77.zip | |
Change char_traits<char16_t>::eof() to return 0xFFFF instead of 0xDFFF. Fixes PR#24342
llvm-svn: 243937
| -rw-r--r-- | libcxx/include/string | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/string b/libcxx/include/string index 5777ee2a547..2c677ce4b2e 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -742,7 +742,7 @@ struct _LIBCPP_TYPE_VIS_ONLY char_traits<char16_t> static inline _LIBCPP_CONSTEXPR bool eq_int_type(int_type __c1, int_type __c2) _NOEXCEPT {return __c1 == __c2;} static inline _LIBCPP_CONSTEXPR int_type eof() _NOEXCEPT - {return int_type(0xDFFF);} + {return int_type(0xFFFF);} }; inline _LIBCPP_INLINE_VISIBILITY |

