aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-12-04 12:08:11 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-12-04 15:27:02 +0300
commitf37c4c9349e2c8c433d52d4be744cf5dc9aa7909 (patch)
tree6b05033f48f4bf41a995f6a80a1f0c08fed62c13 /contrib
parent2a718325637e5302334b6d0a6430f63168f8dbb3 (diff)
downloadydb-f37c4c9349e2c8c433d52d4be744cf5dc9aa7909.tar.gz
Intermediate changes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_off.go9
-rw-r--r--contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_on.go9
-rw-r--r--contrib/go/_std_1.21/src/internal/goexperiment/ya.make2
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__memory/shared_ptr.h2
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__random/log2.h1
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__support/win32/limits_msvc_win32.h7
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__tuple18
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/memory1
-rw-r--r--contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_fallback.ipp1
-rw-r--r--contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_msvc.ipp2
10 files changed, 24 insertions, 28 deletions
diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_off.go b/contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_off.go
new file mode 100644
index 0000000000..95d3a6c4ae
--- /dev/null
+++ b/contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_off.go
@@ -0,0 +1,9 @@
+// Code generated by mkconsts.go. DO NOT EDIT.
+
+//go:build !goexperiment.coverageredesign
+// +build !goexperiment.coverageredesign
+
+package goexperiment
+
+const CoverageRedesign = false
+const CoverageRedesignInt = 0
diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_on.go b/contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_on.go
deleted file mode 100644
index 330a234f20..0000000000
--- a/contrib/go/_std_1.21/src/internal/goexperiment/exp_coverageredesign_on.go
+++ /dev/null
@@ -1,9 +0,0 @@
-// Code generated by mkconsts.go. DO NOT EDIT.
-
-//go:build goexperiment.coverageredesign
-// +build goexperiment.coverageredesign
-
-package goexperiment
-
-const CoverageRedesign = true
-const CoverageRedesignInt = 1
diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/ya.make b/contrib/go/_std_1.21/src/internal/goexperiment/ya.make
index 8b59c0307f..b50720d13d 100644
--- a/contrib/go/_std_1.21/src/internal/goexperiment/ya.make
+++ b/contrib/go/_std_1.21/src/internal/goexperiment/ya.make
@@ -5,7 +5,7 @@ SRCS(
exp_boringcrypto_off.go
exp_cacheprog_off.go
exp_cgocheck2_off.go
- exp_coverageredesign_on.go
+ exp_coverageredesign_off.go
exp_fieldtrack_off.go
exp_heapminimum512kib_off.go
exp_loopvar_off.go
diff --git a/contrib/libs/cxxsupp/libcxx/include/__memory/shared_ptr.h b/contrib/libs/cxxsupp/libcxx/include/__memory/shared_ptr.h
index 3d73bfaafa..8b7256d038 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__memory/shared_ptr.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__memory/shared_ptr.h
@@ -35,7 +35,7 @@
#include <stdexcept>
#include <type_traits>
#include <typeinfo>
-#if !defined(_LIBCPP_HAS_NO_THREADS) // !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
+#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER)
# include <atomic>
#endif
diff --git a/contrib/libs/cxxsupp/libcxx/include/__random/log2.h b/contrib/libs/cxxsupp/libcxx/include/__random/log2.h
index f4f837764c..b077d211ce 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__random/log2.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__random/log2.h
@@ -11,7 +11,6 @@
#include <__config>
#include <cstddef>
-#include <limits>
#include <type_traits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/contrib/libs/cxxsupp/libcxx/include/__support/win32/limits_msvc_win32.h b/contrib/libs/cxxsupp/libcxx/include/__support/win32/limits_msvc_win32.h
index 9f693d9fa4..87e4e7db66 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__support/win32/limits_msvc_win32.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__support/win32/limits_msvc_win32.h
@@ -20,6 +20,7 @@
#include <float.h> // limit constants
#include <limits.h> // CHAR_BIT
#include <math.h> // HUGE_VAL
+#include <ymath.h> // internal MSVC header providing the needed functionality
#define __CHAR_BIT__ CHAR_BIT
@@ -63,8 +64,8 @@
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
// __builtin replacements/workarounds
-#define __builtin_huge_vall() ((long double)__builtin_huge_val())
-#define __builtin_nanl(__dummy) ((long double)__builtin_nan(__dummy))
-#define __builtin_nansl(__dummy) ((long double)__builtin_nans(__dummy))
+#define __builtin_huge_vall() _LInf._Long_double
+#define __builtin_nanl(__dummmy) _LNan._Long_double
+#define __builtin_nansl(__dummy) _LSnan._Long_double
#endif // _LIBCPP_SUPPORT_WIN32_LIMITS_MSVC_WIN32_H
diff --git a/contrib/libs/cxxsupp/libcxx/include/__tuple b/contrib/libs/cxxsupp/libcxx/include/__tuple
index 38a22dbaaf..2b399f30e1 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__tuple
+++ b/contrib/libs/cxxsupp/libcxx/include/__tuple
@@ -21,36 +21,36 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size;
+template <class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_size;
#if !defined(_LIBCPP_CXX03_LANG)
template <class _Tp, class...>
using __enable_if_tuple_size_imp = _Tp;
template <class _Tp>
-class _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
+struct _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
const _Tp,
typename enable_if<!is_volatile<_Tp>::value>::type,
integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
: public integral_constant<size_t, tuple_size<_Tp>::value> {};
template <class _Tp>
-class _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
+struct _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
volatile _Tp,
typename enable_if<!is_const<_Tp>::value>::type,
integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
: public integral_constant<size_t, tuple_size<_Tp>::value> {};
template <class _Tp>
-class _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
+struct _LIBCPP_TEMPLATE_VIS tuple_size<__enable_if_tuple_size_imp<
const volatile _Tp,
integral_constant<size_t, sizeof(tuple_size<_Tp>)>>>
: public integral_constant<size_t, tuple_size<_Tp>::value> {};
#else
-template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size<const _Tp> : public tuple_size<_Tp> {};
-template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size<volatile _Tp> : public tuple_size<_Tp> {};
-template <class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_size<const volatile _Tp> : public tuple_size<_Tp> {};
+template <class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_size<const _Tp> : public tuple_size<_Tp> {};
+template <class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_size<volatile _Tp> : public tuple_size<_Tp> {};
+template <class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_size<const volatile _Tp> : public tuple_size<_Tp> {};
#endif
template <size_t _Ip, class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_element;
@@ -160,7 +160,7 @@ template <class ..._Tp> class _LIBCPP_TEMPLATE_VIS tuple;
template <class... _Tp> struct __tuple_like<tuple<_Tp...> > : true_type {};
template <class ..._Tp>
-class _LIBCPP_TEMPLATE_VIS tuple_size<tuple<_Tp...> >
+struct _LIBCPP_TEMPLATE_VIS tuple_size<tuple<_Tp...> >
: public integral_constant<size_t, sizeof...(_Tp)>
{
};
@@ -301,7 +301,7 @@ struct _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, __tuple_types<_Types...> >
template <class ..._Tp>
-class _LIBCPP_TEMPLATE_VIS tuple_size<__tuple_types<_Tp...> >
+struct _LIBCPP_TEMPLATE_VIS tuple_size<__tuple_types<_Tp...> >
: public integral_constant<size_t, sizeof...(_Tp)>
{
};
diff --git a/contrib/libs/cxxsupp/libcxx/include/memory b/contrib/libs/cxxsupp/libcxx/include/memory
index a495caa898..53af96afa7 100644
--- a/contrib/libs/cxxsupp/libcxx/include/memory
+++ b/contrib/libs/cxxsupp/libcxx/include/memory
@@ -866,7 +866,6 @@ template<size_t N, class T>
#include <iosfwd>
#include <new>
#include <stdexcept>
-#include <stlfwd>
#include <tuple>
#include <type_traits>
#include <typeinfo>
diff --git a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_fallback.ipp b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_fallback.ipp
index ebdca7e5ee..100ee6da5e 100644
--- a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_fallback.ipp
+++ b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_fallback.ipp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#include <cstdio>
-#include "../../include/atomic_support.h"
namespace std {
diff --git a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_msvc.ipp b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_msvc.ipp
index 3ee2d21b68..7e36c7068a 100644
--- a/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_msvc.ipp
+++ b/contrib/libs/cxxsupp/libcxx/src/support/runtime/exception_msvc.ipp
@@ -14,8 +14,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <__config>
-
extern "C" {
typedef void (__cdecl* terminate_handler)();
_LIBCPP_CRT_FUNC terminate_handler __cdecl set_terminate(