No longer reject inputs when using a locale that has grouping information _and_ the...
authorMarshall Clow <mclow.lists@gmail.com>
Tue, 4 Jun 2019 15:18:46 +0000 (15:18 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Tue, 4 Jun 2019 15:18:46 +0000 (15:18 +0000)
commit605d62e9de00b9f95a00202f66dfb03fe52ca523
treeb427f908c72957d60947deba55899c3cbc4c4ee9
parent1e63dd0b44998721fefae9f690882af927ca3c2a
No longer reject inputs when using a locale that has grouping information _and_ the input has no grouping characters at all. We continue to reject cases when the input has grouping characters in the wrong place. Fixes PR#28704

llvm-svn: 362508
libcxx/src/locale.cpp
libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp