diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-10-17 20:08:59 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-10-17 20:08:59 +0000 |
commit | a892966218c2c7907bdc3f158685b7aa08ac9984 (patch) | |
tree | d50dc1576d40b9580d7d091cad2fc3aedc08bd8e /libcxx/src | |
parent | 444bd25dff35cf8610e9baf1268d6a75a0fa059f (diff) | |
download | bcm5719-llvm-a892966218c2c7907bdc3f158685b7aa08ac9984.tar.gz bcm5719-llvm-a892966218c2c7907bdc3f158685b7aa08ac9984.zip |
de-tabbify
llvm-svn: 142237
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/locale.cpp | 2 | ||||
-rw-r--r-- | libcxx/src/support/win32/locale_win32.cpp | 8 | ||||
-rw-r--r-- | libcxx/src/support/win32/support.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index c75a1542d9d..b90e163a02a 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -1032,7 +1032,7 @@ ctype_byname<wchar_t>::do_is(mask m, char_type c) const #ifdef _LIBCPP_WCTYPE_IS_MASK return static_cast<bool>(iswctype_l(c, m, __l)); #else - bool result = true; + bool result = true; if (m & space && !iswspace_l(c, __l)) result = false; if (m & print && !iswprint_l(c, __l)) result = false; if (m & cntrl && !iswcntrl_l(c, __l)) result = false; 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 ) { |