basic_filebuf needs to delay obtaining a codecvt facet from the global locale to give the client a chance to imbue the proper locale.  Fixes http://llvm.org/bugs/show_bug.cgi?id=13663.

llvm-svn: 162567
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: cc27317a622f9fa1b415a93346b55d5d71acc29c
1 file changed