diff options
author | Alexander Fokin <apfokin@gmail.com> | 2022-02-10 16:45:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:38 +0300 |
commit | bf9e69a933f89af083d895185f01ed65e4d90766 (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /contrib/libs | |
parent | 863a59a65247c24db7cb06789bc5cf79d04da32f (diff) | |
download | ydb-bf9e69a933f89af083d895185f01ed65e4d90766.tar.gz |
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h | 48 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/stlfwd | 68 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/tuple | 4 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/ya.make | 66 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/system_stl/include/stlfwd | 2 | ||||
-rw-r--r-- | contrib/libs/jemalloc/hack.h | 10 |
6 files changed, 99 insertions, 99 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 5c5fa30529..e32bcf9073 100644 --- a/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h +++ b/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h @@ -405,7 +405,7 @@ static inline char __msvc_atomic_exchange8(volatile char* __a, char __val, __result = _InterlockedExchange8(__a, __val); } #else - (void)__order; + (void)__order; __result = _InterlockedExchange8(__a, __val); #endif return __result; @@ -426,7 +426,7 @@ static inline short __msvc_atomic_exchange16(volatile short* __a, short __val, __result = _InterlockedExchange16(__a, __val); } #else - (void)__order; + (void)__order; __result = _InterlockedExchange16(__a, __val); #endif return __result; @@ -447,7 +447,7 @@ static inline long __msvc_atomic_exchange32(volatile long* __a, long __val, __result = _InterlockedExchange(__a, __val); } #else - (void)__order; + (void)__order; __result = _InterlockedExchange(__a, __val); #endif return __result; @@ -472,7 +472,7 @@ static inline __int64 __msvc_atomic_exchange64(volatile __int64* __a, __int64 __ __result = _InterlockedExchange64(__a, __val); } #else - (void)__order; + (void)__order; __result = _InterlockedExchange64(__a, __val); #endif return __result; @@ -524,7 +524,7 @@ static inline bool __msvc_atomic_compare_exchange8(volatile char* __a, char __va __before = _InterlockedCompareExchange8(__a, __value, __compare); } #else - (void)__order; + (void)__order; __before = _InterlockedCompareExchange8(__a, __value, __compare); #endif if (__before == __compare) { @@ -549,7 +549,7 @@ static inline bool __msvc_atomic_compare_exchange16(volatile short* __a, short _ __before = _InterlockedCompareExchange16(__a, __value, __compare); } #else - (void)__order; + (void)__order; __before = _InterlockedCompareExchange16(__a, __value, __compare); #endif if (__before == __compare) { @@ -574,7 +574,7 @@ static inline bool __msvc_atomic_compare_exchange32(volatile long* __a, long __v __before = _InterlockedCompareExchange(__a, __value, __compare); } #else - (void)__order; + (void)__order; __before = _InterlockedCompareExchange(__a, __value, __compare); #endif if (__before == __compare) { @@ -599,7 +599,7 @@ static inline bool __msvc_atomic_compare_exchange64(volatile __int64* __a, __int __before = _InterlockedCompareExchange64(__a, __value, __compare); } #else - (void)__order; + (void)__order; __before = _InterlockedCompareExchange64(__a, __value, __compare); #endif if (__before == __compare) { @@ -707,7 +707,7 @@ static inline char __msvc_atomic_fetch_add8(volatile char* __a, char __delta, return _InterlockedExchangeAdd8(__a, __delta); } #else - (void)__order; + (void)__order; return _InterlockedExchangeAdd8(__a, __delta); #endif } @@ -725,7 +725,7 @@ static inline short __msvc_atomic_fetch_add16(volatile short* __a, short __delta return _InterlockedExchangeAdd16(__a, __delta); } #else - (void)__order; + (void)__order; return _InterlockedExchangeAdd16(__a, __delta); #endif } @@ -743,7 +743,7 @@ static inline long __msvc_atomic_fetch_add32(volatile long* __a, long __delta, return _InterlockedExchangeAdd(__a, __delta); } #else - (void)__order; + (void)__order; return _InterlockedExchangeAdd(__a, __delta); #endif } @@ -767,7 +767,7 @@ static inline __int64 __msvc_atomic_fetch_add64(volatile __int64* __a, __int64 _ return _InterlockedExchangeAdd64(__a, __delta); } #else - (void)__order; + (void)__order; return _InterlockedExchangeAdd64(__a, __delta); #endif } @@ -840,7 +840,7 @@ static inline char __msvc_atomic_fetch_and8(volatile char* __a, char __value, return _InterlockedAnd8(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedAnd8(__a, __value); #endif } @@ -858,7 +858,7 @@ static inline short __msvc_atomic_fetch_and16(volatile short* __a, short __value return _InterlockedAnd16(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedAnd16(__a, __value); #endif } @@ -876,7 +876,7 @@ static inline long __msvc_atomic_fetch_and32(volatile long* __a, long __value, return _InterlockedAnd(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedAnd(__a, __value); #endif } @@ -900,7 +900,7 @@ static inline __int64 __msvc_atomic_fetch_and64(volatile __int64* __a, __int64 _ return _InterlockedAnd64(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedAnd64(__a, __value); #endif } @@ -944,7 +944,7 @@ static inline char __msvc_atomic_fetch_or8(volatile char* __a, char __value, return _InterlockedOr8(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedOr8(__a, __value); #endif } @@ -962,7 +962,7 @@ static inline short __msvc_atomic_fetch_or16(volatile short* __a, short __value, return _InterlockedOr16(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedOr16(__a, __value); #endif } @@ -980,7 +980,7 @@ static inline long __msvc_atomic_fetch_or32(volatile long* __a, long __value, return _InterlockedOr(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedOr(__a, __value); #endif } @@ -1004,7 +1004,7 @@ static inline __int64 __msvc_atomic_fetch_or64(volatile __int64* __a, __int64 __ return _InterlockedOr64(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedOr64(__a, __value); #endif } @@ -1048,7 +1048,7 @@ static inline char __msvc_atomic_fetch_xor8(volatile char* __a, char __value, return _InterlockedXor8(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedXor8(__a, __value); #endif } @@ -1066,7 +1066,7 @@ static inline short __msvc_atomic_fetch_xor16(volatile short* __a, short __value return _InterlockedXor16(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedXor16(__a, __value); #endif } @@ -1084,7 +1084,7 @@ static inline long __msvc_atomic_fetch_xor32(volatile long* __a, long __value, return _InterlockedXor(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedXor(__a, __value); #endif } @@ -1108,7 +1108,7 @@ static inline __int64 __msvc_atomic_fetch_xor64(volatile __int64* __a, __int64 _ return _InterlockedXor64(__a, __value); } #else - (void)__order; + (void)__order; return _InterlockedXor64(__a, __value); #endif } diff --git a/contrib/libs/cxxsupp/libcxx/include/stlfwd b/contrib/libs/cxxsupp/libcxx/include/stlfwd index 5f12aa578f..adad6790dc 100644 --- a/contrib/libs/cxxsupp/libcxx/include/stlfwd +++ b/contrib/libs/cxxsupp/libcxx/include/stlfwd @@ -1,42 +1,42 @@ -#pragma once - +#pragma once + #include <__config> #include <cstddef> #include <iosfwd> - + #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif -_LIBCPP_BEGIN_NAMESPACE_STD - - template <class F, class S> - struct pair; - +_LIBCPP_BEGIN_NAMESPACE_STD + + template <class F, class S> + struct pair; + template <class T, size_t N> struct array; - template <class T, class A> - class vector; - - template <class T, class A> - class list; - - template <class T, class A> - class deque; - - template <class T, class C, class A> - class set; - - template <class T, class C, class A> - class multiset; - - template <class K, class V, class C, class A> - class map; - - template <class K, class V, class C, class A> - class multimap; - + template <class T, class A> + class vector; + + template <class T, class A> + class list; + + template <class T, class A> + class deque; + + template <class T, class C, class A> + class set; + + template <class T, class C, class A> + class multiset; + + template <class K, class V, class C, class A> + class map; + + template <class K, class V, class C, class A> + class multimap; + template <typename... TArgs> class tuple; @@ -54,10 +54,10 @@ _LIBCPP_BEGIN_NAMESPACE_STD template <class T> class _LIBCPP_TEMPLATE_VIS shared_ptr; - /* basic_string is already forward-declared in <iosfwd> */ - - template<class T, class Traits> - class basic_string_view; - + /* basic_string is already forward-declared in <iosfwd> */ + + template<class T, class Traits> + class basic_string_view; + _LIBCPP_END_NAMESPACE_STD diff --git a/contrib/libs/cxxsupp/libcxx/include/tuple b/contrib/libs/cxxsupp/libcxx/include/tuple index 10586772ba..9b127953b3 100644 --- a/contrib/libs/cxxsupp/libcxx/include/tuple +++ b/contrib/libs/cxxsupp/libcxx/include/tuple @@ -1538,8 +1538,8 @@ pair<_T1, _T2>::pair(piecewise_construct_t, : first(_VSTD::forward<_Args1>(_VSTD::get<_I1>( __first_args))...), second(_VSTD::forward<_Args2>(_VSTD::get<_I2>(__second_args))...) { - (void)__first_args; - (void)__second_args; + (void)__first_args; + (void)__second_args; } #if _LIBCPP_STD_VER > 14 diff --git a/contrib/libs/cxxsupp/libcxx/ya.make b/contrib/libs/cxxsupp/libcxx/ya.make index 214ee48dc1..15403fe6d5 100644 --- a/contrib/libs/cxxsupp/libcxx/ya.make +++ b/contrib/libs/cxxsupp/libcxx/ya.make @@ -1,5 +1,5 @@ -LIBRARY() - +LIBRARY() + LICENSE( Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND @@ -18,7 +18,7 @@ OWNER( g:cpp-committee g:cpp-contrib ) - + ADDINCL( GLOBAL contrib/libs/cxxsupp/libcxx/include ) @@ -72,34 +72,34 @@ ELSEIF (CLANG OR MUSL OR OS_DARWIN OR USE_LTO) ) ENDIF() ELSEIF (OS_WINDOWS) - SRCS( + SRCS( src/support/win32/locale_win32.cpp - src/support/win32/support.cpp + src/support/win32/support.cpp src/support/win32/atomic_win32.cpp src/support/win32/new_win32.cpp src/support/win32/thread_win32.cpp - ) - CFLAGS( - GLOBAL -D_LIBCPP_VASPRINTF_DEFINED - GLOBAL -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ - ) + ) + CFLAGS( + GLOBAL -D_LIBCPP_VASPRINTF_DEFINED + GLOBAL -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_ + ) IF (CLANG_CL) PEERDIR( contrib/libs/cxxsupp/builtins ) ENDIF() -ELSE() +ELSE() DEFAULT(CXX_RT "glibcxx_static") - CXXFLAGS( - -Wno-unknown-pragmas + CXXFLAGS( + -Wno-unknown-pragmas -nostdinc++ - ) + ) ENDIF() - + IF (OS_LINUX) - EXTRALIBS(-lpthread) + EXTRALIBS(-lpthread) ENDIF() - + IF (CLANG) CFLAGS( GLOBAL -nostdinc++ @@ -177,18 +177,18 @@ IF (NEED_GLIBCXX_CXX17_SHIMS) ENDIF() ENDIF() -NO_UTIL() +NO_UTIL() -NO_RUNTIME() +NO_RUNTIME() + +NO_COMPILER_WARNINGS() -NO_COMPILER_WARNINGS() - IF (FUZZING) NO_SANITIZE() NO_SANITIZE_COVERAGE() ENDIF() -SRCS( +SRCS( src/algorithm.cpp src/any.cpp src/atomic.cpp @@ -198,7 +198,7 @@ SRCS( src/chrono.cpp src/condition_variable.cpp src/condition_variable_destructor.cpp - src/debug.cpp + src/debug.cpp src/exception.cpp src/filesystem/directory_iterator.cpp src/filesystem/operations.cpp @@ -216,24 +216,24 @@ SRCS( src/optional.cpp src/random.cpp src/random_shuffle.cpp - src/regex.cpp - src/shared_mutex.cpp - src/stdexcept.cpp - src/string.cpp + src/regex.cpp + src/shared_mutex.cpp + src/stdexcept.cpp + src/string.cpp src/strstream.cpp - src/system_error.cpp + src/system_error.cpp src/thread.cpp src/typeinfo.cpp - src/utility.cpp - src/valarray.cpp + src/utility.cpp + src/valarray.cpp src/variant.cpp src/vector.cpp -) - +) + IF (NOT OS_WINDOWS) SRCS( src/new.cpp ) ENDIF() -END() +END() diff --git a/contrib/libs/cxxsupp/system_stl/include/stlfwd b/contrib/libs/cxxsupp/system_stl/include/stlfwd index 69e4cad718..94e9c17f3f 100644 --- a/contrib/libs/cxxsupp/system_stl/include/stlfwd +++ b/contrib/libs/cxxsupp/system_stl/include/stlfwd @@ -4,7 +4,7 @@ #include <cstddef> #include <string> -#include <string_view> +#include <string_view> #include <utility> #include <vector> #include <list> diff --git a/contrib/libs/jemalloc/hack.h b/contrib/libs/jemalloc/hack.h index 4326b09aed..3b172a2da2 100644 --- a/contrib/libs/jemalloc/hack.h +++ b/contrib/libs/jemalloc/hack.h @@ -11,11 +11,11 @@ extern "C" { #define ThreadYield AllocThreadYield #define NSystemInfo NAllocSystemInfo -#ifdef _MSC_VER -# define __restrict__ __restrict -# define JEMALLOC_EXPORT -#endif - +#ifdef _MSC_VER +# define __restrict__ __restrict +# define JEMALLOC_EXPORT +#endif + #if defined(__cplusplus) }; #endif |