aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-12-16 20:08:16 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-12-16 20:31:15 +0300
commit9f2203cf1c947daa0ba967177264927ffde0c714 (patch)
tree1da97819886b72d23b57a4dfd12c307dad72089b /contrib/restricted
parentdcd81c930b1a5ec867a1dabf3b7abedd4f7fd5de (diff)
downloadydb-9f2203cf1c947daa0ba967177264927ffde0c714.tar.gz
Update contrib/restricted/boost/predef to 1.84.0
Diffstat (limited to 'contrib/restricted')
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std.h1
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/library/std/msvc.h53
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/make.h4
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/os/vms.h2
-rw-r--r--contrib/restricted/boost/predef/include/boost/predef/version.h2
-rw-r--r--contrib/restricted/boost/predef/ya.make4
6 files changed, 62 insertions, 4 deletions
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std.h b/contrib/restricted/boost/predef/include/boost/predef/library/std.h
index 403b6ff37a..f8d34b452a 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/library/std.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std.h
@@ -16,6 +16,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/library/std/libcomo.h>
#include <boost/predef/library/std/modena.h>
#include <boost/predef/library/std/msl.h>
+#include <boost/predef/library/std/msvc.h>
#include <boost/predef/library/std/roguewave.h>
#include <boost/predef/library/std/sgi.h>
#include <boost/predef/library/std/stdcpp3.h>
diff --git a/contrib/restricted/boost/predef/include/boost/predef/library/std/msvc.h b/contrib/restricted/boost/predef/include/boost/predef/library/std/msvc.h
new file mode 100644
index 0000000000..de3366263f
--- /dev/null
+++ b/contrib/restricted/boost/predef/include/boost/predef/library/std/msvc.h
@@ -0,0 +1,53 @@
+/*
+Copyright Henrik S. Gaßmann 2023
+Distributed under the Boost Software License, Version 1.0.
+(See accompanying file LICENSE_1_0.txt or copy at
+http://www.boost.org/LICENSE_1_0.txt)
+*/
+
+#ifndef BOOST_PREDEF_LIBRARY_STD_MSVC_H
+#define BOOST_PREDEF_LIBRARY_STD_MSVC_H
+
+#include <boost/predef/library/std/_prefix.h>
+
+#include <boost/predef/version_number.h>
+#include <boost/predef/make.h>
+
+/* tag::reference[]
+= `BOOST_LIB_STD_MSVC`
+
+https://github.com/microsoft/STL[Microsoft's {CPP} Standard Library].
+If available version number as major, minor, and patch.
+The patch number is derived from `_MSVC_STL_UPDATE` by taking its five last
+digits (see below). This implies that pasting a `_MSVC_STL_UPDATE` value into
+`BOOST_VERSION_NUMBER` will produce a version number that is directly comparable
+to `BOOST_LIB_STD_MSVC`.
+
+[options="header"]
+|===
+| {predef_symbol} | {predef_version}
+
+| `+_MSVC_STL_VERSION+` | {predef_detection}
+
+| `+_MSVC_STL_VERSION+` | VV.R.0
+| `+_MSVC_STL_UPDATE+` | 00.0.0YYYMM
+|===
+*/ // end::reference[]
+
+#define BOOST_LIB_STD_MSVC BOOST_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(_MSVC_STL_VERSION)
+# undef BOOST_LIB_STD_MSVC
+# define BOOST_LIB_STD_MSVC BOOST_PREDEF_MAKE_10_VVR_0PPPPP(_MSVC_STL_VERSION, _MSVC_STL_UPDATE)
+#endif
+
+#if BOOST_LIB_STD_MSVC
+# define BOOST_LIB_STD_MSVC_AVAILABLE
+#endif
+
+#define BOOST_LIB_STD_MSVC_NAME "Microsoft stdlib"
+
+#endif
+
+#include <boost/predef/detail/test.h>
+BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSVC, BOOST_LIB_STD_MSVC_NAME)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/make.h b/contrib/restricted/boost/predef/include/boost/predef/make.h
index e65a0e1bd8..c2aa874879 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/make.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/make.h
@@ -106,6 +106,10 @@ Macros are:
*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VV00(V) BOOST_VERSION_NUMBER(((V)/100)%100,0,0)
/* tag::reference[]
+* `BOOST_PREDEF_MAKE_10_VVR_0PPPPP(V, P)`, the second parameter specifies a year-month patch level with the first digit discarded
+*/ // end::reference[]
+#define BOOST_PREDEF_MAKE_10_VVR_0PPPPP(V, P) BOOST_VERSION_NUMBER(((V)/10)%100,(V)%10,(P)%100000)
+/* tag::reference[]
* `BOOST_PREDEF_MAKE_10_VVRR(V)`
*/ // end::reference[]
#define BOOST_PREDEF_MAKE_10_VVRR(V) BOOST_VERSION_NUMBER(((V)/100)%100,(V)%100,0)
diff --git a/contrib/restricted/boost/predef/include/boost/predef/os/vms.h b/contrib/restricted/boost/predef/include/boost/predef/os/vms.h
index 7db6118169..452e21d56b 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/os/vms.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/os/vms.h
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/* tag::reference[]
= `BOOST_OS_VMS`
-http://en.wikipedia.org/wiki/Vms[VMS] operating system.
+http://en.wikipedia.org/wiki/OpenVMS[VMS] operating system.
[options="header"]
|===
diff --git a/contrib/restricted/boost/predef/include/boost/predef/version.h b/contrib/restricted/boost/predef/include/boost/predef/version.h
index 172d22e52b..4428eb56e4 100644
--- a/contrib/restricted/boost/predef/include/boost/predef/version.h
+++ b/contrib/restricted/boost/predef/include/boost/predef/version.h
@@ -10,6 +10,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
-#define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,14,0)
+#define BOOST_PREDEF_VERSION BOOST_VERSION_NUMBER(1,15,0)
#endif
diff --git a/contrib/restricted/boost/predef/ya.make b/contrib/restricted/boost/predef/ya.make
index a0a8ab8902..cedd514231 100644
--- a/contrib/restricted/boost/predef/ya.make
+++ b/contrib/restricted/boost/predef/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.83.0)
+VERSION(1.84.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/predef/archive/boost-1.83.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/predef/archive/boost-1.84.0.tar.gz)
ADDINCL(
GLOBAL contrib/restricted/boost/predef/include