aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commit863a59a65247c24db7cb06789bc5cf79d04da32f (patch)
tree139dc000c8cd4a40f5659e421b7c75135d080307 /contrib
parentf64e95a9eb9ab03240599eb9581c5a9102426a96 (diff)
downloadydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/README.md2
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h48
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/stlfwd68
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/tuple4
-rw-r--r--contrib/libs/cxxsupp/libcxx/ya.make66
-rw-r--r--contrib/libs/cxxsupp/system_stl/include/stlfwd2
-rw-r--r--contrib/libs/jemalloc/hack.h10
7 files changed, 100 insertions, 100 deletions
diff --git a/contrib/README.md b/contrib/README.md
index 44863a0baf..a367259b08 100644
--- a/contrib/README.md
+++ b/contrib/README.md
@@ -1,5 +1,5 @@
Все спорные вопросы, пожелания по процессу, фичереквесты можно присылать на [arcadia-wg@](mailto:arcadia-wg@yandex-team.ru)
-
+
## Что такое contrib?
Это набор общих компонент в Аркадии из внешнего интернета, от которых зависят проекты внутри Аркадии.
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..5c5fa30529 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 adad6790dc..5f12aa578f 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 9b127953b3..10586772ba 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 15403fe6d5..214ee48dc1 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_COMPILER_WARNINGS()
+NO_RUNTIME()
+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 94e9c17f3f..69e4cad718 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 3b172a2da2..4326b09aed 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