[PATCH] D26979: Do not hard-code locale data in unit tests: get it from the OS instead

Eric van Gyzen via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 22 12:12:46 PST 2016

vangyzen updated this revision to Diff 78916.
vangyzen added a comment.

Reset the global locale so it's different than the one we pass
to std::locale l(...).  That way we're testing that we don't accidentally
use the global locale.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26979.78916.patch
Type: text/x-patch
Size: 4619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161122/e2064fcc/attachment.bin>

More information about the cfe-commits mailing list