summaryrefslogtreecommitdiffstats
path: root/libcxx/src/support
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-10-17 20:08:59 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-10-17 20:08:59 +0000
commita892966218c2c7907bdc3f158685b7aa08ac9984 (patch)
treed50dc1576d40b9580d7d091cad2fc3aedc08bd8e /libcxx/src/support
parent444bd25dff35cf8610e9baf1268d6a75a0fa059f (diff)
downloadbcm5719-llvm-a892966218c2c7907bdc3f158685b7aa08ac9984.tar.gz
bcm5719-llvm-a892966218c2c7907bdc3f158685b7aa08ac9984.zip
de-tabbify
llvm-svn: 142237
Diffstat (limited to 'libcxx/src/support')
-rw-r--r--libcxx/src/support/win32/locale_win32.cpp8
-rw-r--r--libcxx/src/support/win32/support.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/src/support/win32/locale_win32.cpp b/libcxx/src/support/win32/locale_win32.cpp
index 07cd392c21f..02b5874e294 100644
--- a/libcxx/src/support/win32/locale_win32.cpp
+++ b/libcxx/src/support/win32/locale_win32.cpp
@@ -22,10 +22,10 @@ locale_t uselocale( locale_t newloc )
locale_t old_locale = _get_current_locale();
// uselocale sets the thread's locale by definition, so unconditionally use thread-local locale
_configthreadlocale( _ENABLE_PER_THREAD_LOCALE );
- // uselocale sets all categories
- setlocale( LC_ALL, newloc->locinfo->lc_category[LC_ALL].locale );
- // uselocale returns the old locale_t
- return old_locale;
+ // uselocale sets all categories
+ setlocale( LC_ALL, newloc->locinfo->lc_category[LC_ALL].locale );
+ // uselocale returns the old locale_t
+ return old_locale;
}
lconv *localeconv_l( locale_t loc )
{
diff --git a/libcxx/src/support/win32/support.cpp b/libcxx/src/support/win32/support.cpp
index 8ed2921d241..b3ef50a7990 100644
--- a/libcxx/src/support/win32/support.cpp
+++ b/libcxx/src/support/win32/support.cpp
@@ -21,7 +21,7 @@ int asprintf(char **sptr, const char *__restrict__ fmt, ...)
va_start(ap, fmt);
int result = vasprintf(sptr, fmt, ap);
va_end(ap);
- return result;
+ return result;
}
int vasprintf( char **sptr, const char *__restrict__ fmt, va_list ap )
{
OpenPOWER on IntegriCloud