forked from OSchip/llvm-project
0d542d350d
Summary: The underlying C locales provide the `thousands_sep` and `decimal_point` as strings, possible with more than one character. We currently don't handle this case even for `wchar_t`. This patch properly converts the mbs -> wide character for `moneypunct_byname<wchar_t>`. For the `moneypunct_byname<char>` case we attempt to narrow the WC and if that fails we also attempt to translate it to some reasonable value. For example we translate U00A0 (non-breaking space) into U0020 (regular space). If none of these conversions succeed then we simply allow the base class to provide a fallback value. Reviewers: mclow.lists, EricWF Subscribers: vangyzen, george.burgess.iv, cfe-commits Differential Revision: https://reviews.llvm.org/D24218 llvm-svn: 289347 |
||
---|---|---|
.. | ||
experimental | ||
include | ||
support | ||
algorithm.cpp | ||
any.cpp | ||
bind.cpp | ||
chrono.cpp | ||
condition_variable.cpp | ||
debug.cpp | ||
exception.cpp | ||
future.cpp | ||
hash.cpp | ||
ios.cpp | ||
iostream.cpp | ||
locale.cpp | ||
memory.cpp | ||
mutex.cpp | ||
new.cpp | ||
optional.cpp | ||
random.cpp | ||
regex.cpp | ||
shared_mutex.cpp | ||
stdexcept.cpp | ||
string.cpp | ||
strstream.cpp | ||
system_error.cpp | ||
thread.cpp | ||
typeinfo.cpp | ||
utility.cpp | ||
valarray.cpp | ||
variant.cpp |