Issue 63864
Summary Forming mixed locale names is unimplemented for locale constructors
Labels libc++
Assignees
Reporter jakeegan
    Locale names formed from parts of two named locales (that is, C++ locales having names) are supposed to have names in turn (see C++20 subclause 28.3.1.1 [locale.general] paragraph 8). The simple cases (such as two locales with the same name) are handled [here](https://reviews.llvm.org/D119441) , but the cases for mixed locale names isn't implemented yet. 

To form mixed locale names, we need a thread safe, C-level way to retrieve the locale name. Some platforms, such as AIX, lack this capability, so a request to POSIX was posted [here](https://austingroupbugs.net/view.php?id=1741). Once this is resolved, the function build_name can be extended to handle mixed name cases. See: https://github.com/llvm/llvm-project/blob/main/libcxx/src/locale.cpp#L132
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to