Skip to content

Commit f4b592a

Browse files
committed
Update vendor
1 parent 5f1105f commit f4b592a

File tree

3 files changed

+21
-21
lines changed
  • tests/vendor/cget/pkg

3 files changed

+21
-21
lines changed

tests/vendor/cget/pkg/boost-ext__ut/install/include/boost/ut.hpp

+14-14
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export import std;
5757
#elif not defined(__cpp_static_assert)
5858
#error "[Boost::ext].UT requires support for static assert";
5959
#else
60-
#define BOOST_UT_VERSION 2'1'0
60+
#define BOOST_UT_VERSION 2'1'1
6161

6262
#if defined(__has_builtin) and defined(__GNUC__) and (__GNUC__ < 10) and \
6363
not defined(__clang__)
@@ -105,11 +105,11 @@ export import std;
105105
#include <source_location>
106106
#endif
107107

108-
struct unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_ {
108+
struct unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_ {
109109
};
110110

111111
BOOST_UT_EXPORT
112-
namespace boost::inline ext::ut::inline v2_1_0 {
112+
namespace boost::inline ext::ut::inline v2_1_1 {
113113
namespace utility {
114114
template <class>
115115
class function;
@@ -298,29 +298,29 @@ template <typename TargetType>
298298

299299
inline constexpr const std::string_view raw_type_name =
300300
get_template_function_name_use_decay_type<
301-
unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_>();
301+
unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_>();
302302

303303
inline constexpr const std::size_t raw_length = raw_type_name.length();
304304
inline constexpr const std::string_view need_name =
305305
#if defined(_MSC_VER) and not defined(__clang__)
306306
"struct "
307-
"unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_";
307+
"unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_";
308308
#else
309-
"unique_name_for_auto_detect_prefix_and_suffix_lenght_0123456789_struct_";
309+
"unique_name_for_auto_detect_prefix_and_suffix_length_0123456789_struct_";
310310
#endif
311311
inline constexpr const std::size_t need_length = need_name.length();
312312
static_assert(need_length <= raw_length,
313-
"Auto find prefix and suffix lenght broken error 1");
313+
"Auto find prefix and suffix length broken error 1");
314314
inline constexpr const std::size_t prefix_length =
315315
raw_type_name.find(need_name);
316316
static_assert(prefix_length != std::string_view::npos,
317-
"Auto find prefix and suffix lenght broken error 2");
317+
"Auto find prefix and suffix length broken error 2");
318318
static_assert(prefix_length <= raw_length,
319-
"Auto find prefix and suffix lenght broken error 3");
320-
inline constexpr const std::size_t tail_lenght = raw_length - prefix_length;
321-
static_assert(need_length <= tail_lenght,
322-
"Auto find prefix and suffix lenght broken error 4");
323-
inline constexpr const std::size_t suffix_length = tail_lenght - need_length;
319+
"Auto find prefix and suffix length broken error 3");
320+
inline constexpr const std::size_t tail_length = raw_length - prefix_length;
321+
static_assert(need_length <= tail_length,
322+
"Auto find prefix and suffix length broken error 4");
323+
inline constexpr const std::size_t suffix_length = tail_length - need_length;
324324

325325
} // namespace detail
326326

@@ -3324,7 +3324,7 @@ using operators::operator not;
33243324
using operators::operator|;
33253325
using operators::operator/;
33263326
using operators::operator>>;
3327-
} // namespace boost::inline ext::ut::inline v2_1_0
3327+
} // namespace boost::inline ext::ut::inline v2_1_1
33283328

33293329
#if (defined(__GNUC__) || defined(__clang__) || defined(__INTEL_COMPILER)) && \
33303330
!defined(__EMSCRIPTEN__)

tests/vendor/cget/pkg/nemtrif__utfcpp/install/include/utf8cpp/utf8/core.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ namespace internal
215215

216216
UTF8_CPP_INCREASE_AND_RETURN_ON_ERROR(it, end)
217217

218-
code_point += (*it) & 0x3f;
218+
code_point = static_cast<utfchar32_t>(code_point + ((*it) & 0x3f));
219219

220220
return UTF8_OK;
221221
}
@@ -234,11 +234,11 @@ namespace internal
234234

235235
UTF8_CPP_INCREASE_AND_RETURN_ON_ERROR(it, end)
236236

237-
code_point += (utf8::internal::mask8(*it) << 6) & 0xfff;
237+
code_point = static_cast<utfchar32_t>(code_point + ((utf8::internal::mask8(*it) << 6) & 0xfff));
238238

239239
UTF8_CPP_INCREASE_AND_RETURN_ON_ERROR(it, end)
240240

241-
code_point += (*it) & 0x3f;
241+
code_point = static_cast<utfchar32_t>(code_point + ((*it) & 0x3f));
242242

243243
return UTF8_OK;
244244
}
@@ -327,7 +327,7 @@ namespace internal
327327
else if (is_lead_surrogate(first_word)) {
328328
const utfchar16_t second_word = *it++;
329329
if (is_trail_surrogate(second_word)) {
330-
code_point = (first_word << 10) + second_word + SURROGATE_OFFSET;
330+
code_point = static_cast<utfchar32_t>(first_word << 10) + second_word + SURROGATE_OFFSET;
331331
return UTF8_OK;
332332
} else
333333
err = INCOMPLETE_SEQUENCE;

tests/vendor/cget/pkg/nemtrif__utfcpp/install/include/utf8cpp/utf8/unchecked.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ namespace utf8
115115
++it;
116116
cp = ((cp << 12) & 0xffff) + ((utf8::internal::mask8(*it) << 6) & 0xfff);
117117
++it;
118-
cp += (*it) & 0x3f;
118+
cp = static_cast<utfchar32_t>(cp + ((*it) & 0x3f));
119119
break;
120120
case 4:
121121
++it;
122122
cp = ((cp << 18) & 0x1fffff) + ((utf8::internal::mask8(*it) << 12) & 0x3ffff);
123123
++it;
124-
cp += (utf8::internal::mask8(*it) << 6) & 0xfff;
124+
cp = static_cast<utfchar32_t>(cp + ((utf8::internal::mask8(*it) << 6) & 0xfff));
125125
++it;
126-
cp += (*it) & 0x3f;
126+
cp = static_cast<utfchar32_t>(cp + ((*it) & 0x3f));
127127
break;
128128
}
129129
++it;

0 commit comments

Comments
 (0)