[libcxx-commits] [PATCH] D120799: [libcxx] [test] Fix get_string_en_US, get_long_double_en_US for Windows
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Mar 3 13:04:31 PST 2022
Mordante accepted this revision.
Mordante added a comment.
This revision is now accepted and ready to land.
Thanks for this improvement, LGTM!
Before committing, please update the summary and make sure the CI passes.
================
Comment at: libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_en_US.pass.cpp:64
+}
+
int main(int, char**)
----------------
mstorsjo wrote:
> Quuxplusone wrote:
> > Could this go in `LocaleHelpers` instead? Or would that be problematic because the behavior depends on the specific locale too? (Or is that a good thing because it indicates that this function should actually be named `currency_negate_en_US` or something?)
> >
> > Worth thinking about, but IMHO not worth my blocking this PR over. :)
> Yeah it could go there with such a name too - making all the calls to it slightly longer and more verbose though. But possibly still tolerable.
Since the code is duplicated I also have a slight preference to move it, but non-blocking for me too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120799/new/
https://reviews.llvm.org/D120799
More information about the libcxx-commits
mailing list