de-tabbify
llvm-svn: 142237
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: a892966218c2c7907bdc3f158685b7aa08ac9984
diff --git a/src/locale.cpp b/src/locale.cpp
index c75a154..b90e163 100644
--- a/src/locale.cpp
+++ b/src/locale.cpp
@@ -1032,7 +1032,7 @@
#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/src/support/win32/locale_win32.cpp b/src/support/win32/locale_win32.cpp
index 07cd392..02b5874 100644
--- a/src/support/win32/locale_win32.cpp
+++ b/src/support/win32/locale_win32.cpp
@@ -22,10 +22,10 @@
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/src/support/win32/support.cpp b/src/support/win32/support.cpp
index 8ed2921..b3ef50a 100644
--- a/src/support/win32/support.cpp
+++ b/src/support/win32/support.cpp
@@ -21,7 +21,7 @@
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 )
{