commit | 3cc1daa7cfb3114cee2bfa68171c98eae8a895c4 | [log] [tgz] |
---|---|---|
author | Thomas Anderson <thomasanderson@google.com> | Tue Mar 19 20:30:58 2019 +0000 |
committer | Thomas Anderson <thomasanderson@google.com> | Tue Mar 19 20:30:58 2019 +0000 |
tree | 6abe601a75c2c7423b74f9a05f290d8c4b936d95 | |
parent | e76d13a4875fca2b2046515e4bcc3e236b10bda0 [diff] |
[libc++] Speed up certain locale functions on Windows The issue is that __libcpp_locale_guard makes some slow calls to setlocale(). This change avoids using __libcpp_locale_guard in snprintf_l(). Fixes https://bugs.llvm.org/show_bug.cgi?id=41131 Differential Revision: https://reviews.llvm.org/D59525 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@356512 91177308-0d34-0410-b5e6-96231b3b80d8