aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp
diff options
context:
space:
mode:
authorDmitry Baksheev <dbakshee@yandex.ru>2022-02-10 16:48:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:12 +0300
commit17fe552c0aa936de030b2b72934d9688ab9bb1c6 (patch)
tree9ee66fb456a7ca163946c7aace3a31e69ca47e7f /contrib/libs/cxxsupp
parent2909866fbc652492b7d7cab3023cb19489dc4fd8 (diff)
downloadydb-17fe552c0aa936de030b2b72934d9688ab9bb1c6.tar.gz
Restoring authorship annotation for Dmitry Baksheev <dbakshee@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h6
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/type_traits2
-rw-r--r--contrib/libs/cxxsupp/openmp/kmp_runtime.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h b/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h
index e32bcf9073..ef0c34825e 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h
@@ -29,7 +29,7 @@ namespace __atomic {
template <typename _Tp> _Tp __create();
template <typename _Tp, typename _Td>
-enable_if_t<sizeof(__create<_Tp>() = __create<_Td>()), char>
+enable_if_t<sizeof(__create<_Tp>() = __create<_Td>()), char>
__test_atomic_assignable(int);
template <typename _Tp, typename _Up>
__two __test_atomic_assignable(...);
@@ -92,7 +92,7 @@ static inline _Out __msvc_cast(_Tp __val) {
char* from = reinterpret_cast<char*>(&__val);
while (to != end) {
*to++ = *from++;
- }
+ }
return __result;
}
@@ -210,7 +210,7 @@ static inline void __msvc_atomic_store64(volatile __int64* __a, __int64 __val,
_InterlockedExchange64(__a, __val);
#endif
}
-#endif
+#endif
}
template <typename _Tp>
diff --git a/contrib/libs/cxxsupp/libcxx/include/type_traits b/contrib/libs/cxxsupp/libcxx/include/type_traits
index 8c91522074..db776c17c0 100644
--- a/contrib/libs/cxxsupp/libcxx/include/type_traits
+++ b/contrib/libs/cxxsupp/libcxx/include/type_traits
@@ -2757,7 +2757,7 @@ inline constexpr bool is_destructible_v = __is_destructible(_Tp);
#if defined(_LIBCPP_COMPILER_MSVC)
template <typename _Tp>
-struct is_destructible : integral_constant<bool, __is_destructible(_Tp)> {};
+struct is_destructible : integral_constant<bool, __is_destructible(_Tp)> {};
#else
diff --git a/contrib/libs/cxxsupp/openmp/kmp_runtime.c b/contrib/libs/cxxsupp/openmp/kmp_runtime.c
index 4749934808..b112de83ca 100644
--- a/contrib/libs/cxxsupp/openmp/kmp_runtime.c
+++ b/contrib/libs/cxxsupp/openmp/kmp_runtime.c
@@ -6212,7 +6212,7 @@ __kmp_register_library_startup(
// Attention! Falling to the next case. That's intentional.
case 1 : { // Neighbor is alive.
// Check it is allowed.
- char * duplicate_ok = __kmp_env_get( "KMP_DUPLICATE_LIB_OK" );
+ char * duplicate_ok = __kmp_env_get( "KMP_DUPLICATE_LIB_OK" );
if ( ! __kmp_str_match_true( duplicate_ok ) ) {
// That's not allowed. Issue fatal error.
__kmp_msg(