Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,32 @@
// insert_return_type insert(node_type&&);

#include <map>
#include <memory>
#include <type_traits>
#include "test_macros.h"
#include "min_allocator.h"

template <class Container, class T>
void verify_insert_return_type(T&& t) {
using verified_type = std::remove_cv_t<std::remove_reference_t<T>>;
static_assert(std::is_aggregate_v<verified_type>);
static_assert(std::is_same_v<verified_type, typename Container::insert_return_type>);

auto& [pos, ins, nod] = t;

static_assert(std::is_same_v<decltype(pos), typename Container::iterator>);
static_assert(std::is_same_v<decltype(t.position), typename Container::iterator>);
assert(std::addressof(pos) == std::addressof(t.position));

static_assert(std::is_same_v<decltype(ins), bool>);
static_assert(std::is_same_v<decltype(t.inserted), bool>);
assert(&ins == &t.inserted);

static_assert(std::is_same_v<decltype(nod), typename Container::node_type>);
static_assert(std::is_same_v<decltype(t.node), typename Container::node_type>);
assert(std::addressof(nod) == std::addressof(t.node));
}

template <class Container>
typename Container::node_type
node_factory(typename Container::key_type const& key,
Expand All @@ -44,6 +66,7 @@ void test(Container& c)
assert(irt.inserted);
assert(irt.node.empty());
assert(irt.position->first == i && irt.position->second == i + 1);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand All @@ -55,6 +78,7 @@ void test(Container& c)
assert(!irt.inserted);
assert(irt.node.empty());
assert(irt.position == c.end());
verify_insert_return_type<Container>(irt);
}

{ // Insert duplicate node.
Expand All @@ -65,6 +89,7 @@ void test(Container& c)
assert(!irt.node.empty());
assert(irt.position == c.find(0));
assert(irt.node.key() == 0 && irt.node.mapped() == 42);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <map>
#include <cassert>
#include <iterator>
#include <tuple>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <map>
#include <cassert>
#include <iterator>
#include <tuple>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
#include "test_allocator.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,33 @@

// insert_return_type insert(node_type&&);

#include <memory>
#include <set>
#include <type_traits>
#include "test_macros.h"
#include "min_allocator.h"

template <class Container, class T>
void verify_insert_return_type(T&& t) {
using verified_type = std::remove_cv_t<std::remove_reference_t<T>>;
static_assert(std::is_aggregate_v<verified_type>);
static_assert(std::is_same_v<verified_type, typename Container::insert_return_type>);

auto& [pos, ins, nod] = t;

static_assert(std::is_same_v<decltype(pos), typename Container::iterator>);
static_assert(std::is_same_v<decltype(t.position), typename Container::iterator>);
assert(std::addressof(pos) == std::addressof(t.position));

static_assert(std::is_same_v<decltype(ins), bool>);
static_assert(std::is_same_v<decltype(t.inserted), bool>);
assert(&ins == &t.inserted);

static_assert(std::is_same_v<decltype(nod), typename Container::node_type>);
static_assert(std::is_same_v<decltype(t.node), typename Container::node_type>);
assert(std::addressof(nod) == std::addressof(t.node));
}

template <class Container>
typename Container::node_type
node_factory(typename Container::key_type const& key)
Expand All @@ -43,6 +65,7 @@ void test(Container& c)
assert(irt.inserted);
assert(irt.node.empty());
assert(*irt.position == i);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand All @@ -54,6 +77,7 @@ void test(Container& c)
assert(!irt.inserted);
assert(irt.node.empty());
assert(irt.position == c.end());
verify_insert_return_type<Container>(irt);
}

{ // Insert duplicate node.
Expand All @@ -64,6 +88,7 @@ void test(Container& c)
assert(!irt.node.empty());
assert(irt.position == c.find(0));
assert(irt.node.value() == 0);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include <set>
#include <cassert>
#include <iterator>

#include "test_macros.h"
#include "../../../test_compare.h"
#include "test_allocator.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <queue>
#include <cassert>
#include <type_traits>

#include "test_macros.h"
#include "MoveOnly.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <queue>
#include <cassert>
#include <type_traits>

#include "test_macros.h"
#include "MoveOnly.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <stack>
#include <cassert>
#include <type_traits>

#include "test_macros.h"
#include "MoveOnly.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,32 @@

// insert_return_type insert(node_type&&);

#include <memory>
#include <unordered_map>
#include "test_macros.h"
#include "min_allocator.h"

template <class Container, class T>
void verify_insert_return_type(T&& t) {
using verified_type = std::remove_cv_t<std::remove_reference_t<T>>;
static_assert(std::is_aggregate_v<verified_type>);
static_assert(std::is_same_v<verified_type, typename Container::insert_return_type>);

auto& [pos, ins, nod] = t;

static_assert(std::is_same_v<decltype(pos), typename Container::iterator>);
static_assert(std::is_same_v<decltype(t.position), typename Container::iterator>);
assert(std::addressof(pos) == std::addressof(t.position));

static_assert(std::is_same_v<decltype(ins), bool>);
static_assert(std::is_same_v<decltype(t.inserted), bool>);
assert(&ins == &t.inserted);

static_assert(std::is_same_v<decltype(nod), typename Container::node_type>);
static_assert(std::is_same_v<decltype(t.node), typename Container::node_type>);
assert(std::addressof(nod) == std::addressof(t.node));
}

template <class Container>
typename Container::node_type
node_factory(typename Container::key_type const& key,
Expand All @@ -43,6 +65,7 @@ void test(Container& c)
assert(irt.inserted);
assert(irt.node.empty());
assert(irt.position->first == i && irt.position->second == i + 1);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand All @@ -54,6 +77,7 @@ void test(Container& c)
assert(!irt.inserted);
assert(irt.node.empty());
assert(irt.position == c.end());
verify_insert_return_type<Container>(irt);
}

{ // Insert duplicate node.
Expand All @@ -64,6 +88,7 @@ void test(Container& c)
assert(!irt.node.empty());
assert(irt.position == c.find(0));
assert(irt.node.key() == 0 && irt.node.mapped() == 42);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,33 @@

// insert_return_type insert(node_type&&);

#include <memory>
#include <unordered_set>
#include <type_traits>
#include "test_macros.h"
#include "min_allocator.h"

template <class Container, class T>
void verify_insert_return_type(T&& t) {
using verified_type = std::remove_cv_t<std::remove_reference_t<T>>;
static_assert(std::is_aggregate_v<verified_type>);
static_assert(std::is_same_v<verified_type, typename Container::insert_return_type>);

auto& [pos, ins, nod] = t;

static_assert(std::is_same_v<decltype(pos), typename Container::iterator>);
static_assert(std::is_same_v<decltype(t.position), typename Container::iterator>);
assert(std::addressof(pos) == std::addressof(t.position));

static_assert(std::is_same_v<decltype(ins), bool>);
static_assert(std::is_same_v<decltype(t.inserted), bool>);
assert(&ins == &t.inserted);

static_assert(std::is_same_v<decltype(nod), typename Container::node_type>);
static_assert(std::is_same_v<decltype(t.node), typename Container::node_type>);
assert(std::addressof(nod) == std::addressof(t.node));
}

template <class Container>
typename Container::node_type
node_factory(typename Container::key_type const& key)
Expand All @@ -43,6 +65,7 @@ void test(Container& c)
assert(irt.inserted);
assert(irt.node.empty());
assert(*irt.position == i);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand All @@ -54,6 +77,7 @@ void test(Container& c)
assert(!irt.inserted);
assert(irt.node.empty());
assert(irt.position == c.end());
verify_insert_return_type<Container>(irt);
}

{ // Insert duplicate node.
Expand All @@ -64,6 +88,7 @@ void test(Container& c)
assert(!irt.node.empty());
assert(irt.position == c.find(0));
assert(irt.node.value() == 0);
verify_insert_return_type<Container>(irt);
}

assert(c.size() == 10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <concepts>
#include <span> // dynamic_extent
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <concepts>
#include <span> // dynamic_extent
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <cstdint>
#include <span> // dynamic_extent
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
2 changes: 1 addition & 1 deletion libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Ambiguous scalbn(Ambiguous, Ambiguous){ return Ambiguous(); }
Ambiguous tgamma(Ambiguous){ return Ambiguous(); }
Ambiguous trunc(Ambiguous){ return Ambiguous(); }

template <class T, class = decltype(::abs(std::declval<T>()))>
template <class T, class = decltype(::abs(T()))>
std::true_type has_abs_imp(int);
template <class T>
std::false_type has_abs_imp(...);
Expand Down
3 changes: 2 additions & 1 deletion libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
// test <stdlib.h>

#include <stdlib.h>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
//
//===----------------------------------------------------------------------===//

// <functional>

// template <class T>
// struct hash
// {
// size_t operator()(T val) const;
// };
// <system_error>
//
// template <>
// struct hash<error_code>;

#include <system_error>
#include <cassert>
#include <cstddef>
#include <functional>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
//
//===----------------------------------------------------------------------===//

// <functional>

// template <class T>
// struct hash
// {
// size_t operator()(T val) const;
// };
// <system_error>
//
// template <>
// struct hash<error_condition>;

#include <system_error>
#include <cassert>
#include <cstddef>
#include <functional>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <experimental/memory>
#include <cassert>
#include <functional>

#include "poisoned_hash_helper.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
// template<class U> reference/=(U&& x) && noexcept;
// template<class U> reference%=(U&& x) && noexcept;

#include "../test_utils.h"
#include <experimental/simd>
#include <functional>

#include "../test_utils.h"

namespace ex = std::experimental::parallelism_v2;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
// template<class U> reference<<=(U&& x) && noexcept;
// template<class U> reference>>=(U&& x) && noexcept;

#include "../test_utils.h"
#include <experimental/simd>
#include <functional>

#include "../test_utils.h"

namespace ex = std::experimental::parallelism_v2;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class U> propagate_const& propagate_const::operator=(propagate_const<U>&&);

#include <experimental/propagate_const>
#include <cassert>
#include <utility>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class U> propagate_const& propagate_const::operator=(propagate_const<U>&&);

#include <experimental/propagate_const>
#include <cassert>
#include <utility>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class U> constexpr propagate_const& operator=(propagate_const<_Up>&& pu);

#include <experimental/propagate_const>
#include <cassert>
#include <utility>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class U> constexpr propagate_const(propagate_const<_Up>&& pu);

#include <experimental/propagate_const>
#include <cassert>
#include <utility>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// propagate_const(propagate_const&&)=default;

#include <experimental/propagate_const>
#include <cassert>
#include <utility>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
// template <class T> struct hash<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <cstddef>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class T> struct equal_to<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class T> struct greater<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class T> struct greater_equal<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class T> struct less<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class T> struct less_equal<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
// template <class T> struct not_equal_to<experimental::fundamentals_v2::propagate_const<T>>;

#include <experimental/propagate_const>
#include <cassert>
#include <functional>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
// template <class T> constexpr bool operator==(const propagate_const<T>& x, const T& y);

#include <experimental/propagate_const>
#include <cassert>
#include <cstddef>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;
using std::nullptr_t;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
// template <class T> constexpr bool operator!=(const propagate_const<T>& x, const T& y);

#include <experimental/propagate_const>
#include <cassert>
#include <cstddef>

#include "test_macros.h"
#include "propagate_const_helpers.h"
#include <cassert>

using std::experimental::propagate_const;
using std::nullptr_t;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS

#include <iterator>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// };

#include <iterator>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// struct iterator_traits<const T*>

#include <iterator>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// };

#include <iterator>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// struct iterator_traits<const T*>

#include <iterator>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <iterator>

#include <concepts>
#include <cstddef>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// concept sentinel_for;

#include <iterator>
#include <cstddef>

static_assert(std::sentinel_for<int*, int*>);
static_assert(!std::sentinel_for<int*, long*>);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#include <iterator>
#include <cassert>
#include <cstddef>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// concept three_way_comparable = // see below

#include <compare>
#include <cstddef>

#include "compare_types.h"
#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// concept three_way_comparable_with = // see below

#include <compare>
#include <cstddef>

#include "compare_types.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
// coroutine_handle& operator=(nullptr_t) noexcept

#include <coroutine>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
// constexpr coroutine_handle(nullptr_t) noexcept

#include <coroutine>
#include <type_traits>
#include <cassert>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <new>

#include <cassert>
#include <type_traits>

#include "test_macros.h"
#include "test_convertible.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
// test <cstdlib>

#include <cstdlib>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
//===----------------------------------------------------------------------===//

#include <cstddef>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@

#include <algorithm>
#include <concepts>
#include <functional>
#include <iterator>
#include <memory>
#include <random>
#include <ranges>
#include <type_traits>
#include <utility>

#include "test_macros.h"

// Niebloids, unlike CPOs, are *not* required to be semiregular or even to have
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
// XFAIL: no-wide-characters

#include <locale>
#include <codecvt>
#include <cassert>
#include <codecvt>
#include <type_traits>

#include "test_macros.h"
#if TEST_STD_VER >= 11
Expand Down
5 changes: 3 additions & 2 deletions libcxx/test/std/numerics/c.math/cmath.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@

// <cmath>

#include <array>
#include <cmath>
#include <array>
#include <cassert>
#include <limits>
#include <type_traits>
#include <cassert>
#include <utility>

#include "fp_compare.h"
#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// typedef typename Engine::result_type result_type;

#include <random>
#include <cstdint>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
// template<class _URNG> result_type operator()(_URNG& g);

#include <random>
#include <numeric>
#include <vector>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
// template<class _URNG> result_type operator()(_URNG& g, const param_type& parm);

#include <random>
#include <numeric>
#include <vector>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
// REQUIRES: long_tests

#include <random>
#include <numeric>
#include <vector>
#include <cassert>
#include <cmath>
#include <numeric>
#include <sstream>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// template<class _URNG> result_type operator()(_URNG& g);

#include <cassert>
#include <cmath>
#include <cstdint>
#include <numeric>
#include <random>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
// template<class _URNG> result_type operator()(_URNG& g, const param_type& parm);

#include <random>
#include <cassert>
#include <cmath>
#include <numeric>
#include <vector>
#include <cassert>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@

// template<class _URNG> result_type operator()(_URNG& g);

#include <random>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <numeric>
#include <random>
#include <vector>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
// template<class _URNG> result_type operator()(_URNG& g, const param_type& parm);

#include <random>
#include <cassert>
#include <cmath>
#include <numeric>
#include <vector>
#include <cassert>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
// template<class _URNG> result_type operator()(_URNG& g);

#include <random>
#include <cassert>
#include <cmath>
#include <numeric>
#include <vector>
#include <cassert>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
// template<class _URNG> result_type operator()(_URNG& g, const param_type& parm);

#include <random>
#include <cassert>
#include <cmath>
#include <numeric>
#include <vector>
#include <cassert>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

#include <random>
#include <cassert>
#include <vector>
#include <cmath>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
// template<class _URNG> result_type operator()(_URNG& g);

#include <random>
#include <vector>
#include <iterator>
#include <numeric>
#include <algorithm> // for sort
#include <cassert>
#include <cmath>
#include <iterator>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@

#include <random>
#include <algorithm>
#include <vector>
#include <iterator>
#include <numeric>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <iterator>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@

#include <random>
#include <algorithm>
#include <vector>
#include <iterator>
#include <numeric>
#include <cassert>
#include <cmath>
#include <iterator>
#include <limits>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
// template<class _URNG> result_type operator()(_URNG& g, const param_type& parm);

#include <random>
#include <vector>
#include <iterator>
#include <numeric>
#include <algorithm> // for sort
#include <cassert>
#include <cmath>
#include <iterator>
#include <limits>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@

// template<class _URNG> result_type operator()(_URNG& g);

#include <random>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <numeric>
#include <random>
#include <vector>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@

#include <random>
#include <cassert>
#include <vector>
#include <numeric>
#include <cmath>
#include <cstddef>
#include <numeric>
#include <vector>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <random>
#include <cassert>
#include <climits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <random>
#include <cassert>
#include <climits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
// static constexpr result_type default_seed = 1u;

#include <random>
#include <type_traits>
#include <cassert>
#include <climits>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// typedef UIntType result_type;

#include <random>
#include <cstdint>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// typedef UIntType result_type;

#include <random>
#include <cstdint>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <random>
#include <climits>
#include <cstdint>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// typedef uint_least32_t result_type;

#include <random>
#include <cstdint>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// bool wait_for(Lock& lock, stop_token stoken,
// const chrono::duration<Rep, Period>& rel_time, Predicate pred);

#include <atomic>
#include <cassert>
#include <chrono>
#include <concepts>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// template<class Lock, class Predicate>
// bool wait(Lock& lock, stop_token stoken, Predicate pred);

#include <atomic>
#include <cassert>
#include <concepts>
#include <condition_variable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// bool wait_until(Lock& lock, stop_token stoken,
// const chrono::time_point<Clock, Duration>& abs_time, Predicate pred);

#include <atomic>
#include <cassert>
#include <chrono>
#include <concepts>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <stop_token>
#include <thread>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <cassert>
#include <chrono>
#include <functional>
#include <memory>
#include <optional>
#include <stop_token>
#include <type_traits>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr day operator--(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr day operator++(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: 1 <= d_ && d_ <= 31

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr day& operator-=(const days& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
// Returns: days{int(unsigned{x}) - int(unsigned{y}).

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
// Returns: y + x.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: d_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
// When m_ == February, the number of days is considered to be 29.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
3 changes: 2 additions & 1 deletion libcxx/test/std/time/time.cal/time.cal.mdlast/month.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
3 changes: 2 additions & 1 deletion libcxx/test/std/time/time.cal/time.cal.mdlast/ok.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_.ok()

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr month operator--(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr month operator++(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: 1 <= d_ && d_ <= 12

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr month& operator-=(const month& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
// [Example: January - February == months{11}. -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// [Example: February + months{11} == January. -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_.ok() && wdi_.ok().

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wdi_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_.ok() && wdl_.ok().

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wdl_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: index_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_.ok() && 1 <= index_ && index_ <= 5

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_.ok()

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
// constexpr unsigned c_encoding() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr weekday operator--(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "../../euclidian.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr weekday operator++(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "../../euclidian.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
// See [time.cal.wd.members]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_ <= 6

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@


#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "../../euclidian.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr weekday& operator-=(const days& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "../../euclidian.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
// [Example: Sunday - Monday == days{6}. -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "../../euclidian.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// [Example: Monday + days{6} == Sunday. -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "../../euclidian.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year operator--(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year operator++(int) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
// Returns year{-32767};

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year operator-() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year& operator-=(const years& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
// [Example: January - February == years{11}. -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
// Returns: y + x

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_.ok() && y_.ok().

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month& operator-=(const months& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month& operator-=(const years& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: d_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
// static_cast<int>(unsigned{y.month()})}

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// Returns: ym + dm.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// constexpr bool ok() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
// constexpr bool ok() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
// constexpr bool ok() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_.ok() && y_.ok().

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
// -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
// -end example]

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_day& operator-=(const months& m) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_day& operator-=(const years& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: d_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@


#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// Returns: ym + dm.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: m_.ok() && y_.ok().

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: local_days{sys_days{*this}.time_since_epoch()}.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: sys_days{year()/month()/day()}.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_day_last& operator-=(const months& m) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_day_last& operator-=(const years& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: d_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
// Returns: ymdl + (-dy).

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
// Returns: ymdl + dy

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// constexpr bool ok() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
// constexpr bool ok() const noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wdi_.index()

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
// Otherwise, returns false.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
//

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
//

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_weekday& operator-=(const months& m) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_weekday& operator-=(const years& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wdi_.weekday()

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: d_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
// Returns: ymwd + (-dy).

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
// Returns: ym + dm.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wd_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: y_.ok() && m_.ok() && wdl_.ok().

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: local_days{sys_days{*this}.time_since_epoch()}.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
// of year()/month(). Otherwise the returned value is unspecified.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_weekday_last& operator-=(const months& m) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// constexpr year_month_weekday_last& operator-=(const years& d) noexcept;

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: wdi_.weekday()

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
// Returns: d_

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
// Returns: ymwdl + (-dy).

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
// Returns: ymwdl + dy.

#include <chrono>
#include <type_traits>
#include <cassert>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@

// const time_zone* current_zone();

#include <cassert>
#include <chrono>
#include <string_view>
#include <cassert>
#include <stdlib.h>
#include <string_view>
#include <string>

#include "test_macros.h"
#include "assert_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
// const string remote_version();

#include <chrono>

#include <cassert>
#include <string>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <chrono>
#include <stdexcept>
#include <type_traits>
#include <utility>

// Basic properties
static_assert(std::is_base_of_v<std::runtime_error, std::chrono::nonexistent_local_time>);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <cassert>
#include <chrono>
#include <concepts>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <chrono>
#include <cassert>
#include <concepts>

int main(int, char**) {
std::same_as<const std::chrono::time_zone*> decltype(auto) tz =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <chrono>
#include <cassert>
#include <concepts>
#include <string_view>

#include "assert_macros.h"

Expand Down
2 changes: 1 addition & 1 deletion libcxx/test/std/utilities/charconv/charconv.msvc/test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#define TEST_HPP

#include <charconv>
#include <cstddef>
#include <limits>
#include <stddef.h>
#include <system_error>
using namespace std;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <compare>
#include <concepts>
#include <system_error>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <compare>
#include <concepts>
#include <system_error>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@

#include <array>
#include <cassert>
#include <cmath>
#include <charconv>
#include <cmath>
#include <concepts>
#include <cstdint>
#include <iterator>
#include <memory>
#include <string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <format>
#include <cassert>
#include <concepts>
#include <cstdint>
#include <iterator>
#include <memory>
#include <type_traits>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <cassert>
#include <concepts>
#include <cstdint>
#include <iterator>
#include <list>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <cassert>
#include <iterator>
#include <list>
#include <locale>
#include <vector>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <algorithm>
#include <cassert>
#include <list>
#include <locale>
#include <vector>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <format>
#include <cassert>
#include <locale>
#include <vector>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// template<class T> struct is_bind_expression

#include <functional>
#include <type_traits>

#include "test_macros.h"

template <bool Expected, class T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// struct is_placeholder

#include <functional>
#include <type_traits>

#include "test_macros.h"

template <int Expected, class T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@

// Make sure that we can hash enumeration values.

#include "test_macros.h"

#include <functional>
#include <cassert>
#include <type_traits>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <type_traits>

#include "test_macros.h"

enum class Colors { red, orange, yellow, green, blue, indigo, violet };
enum class Cardinals { zero, one, two, three, five=5 };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@

#include <functional>
#include <cassert>
#include <type_traits>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
// };

#include <memory>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// };

#include <memory>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// };

#include <memory>
#include <cstddef>
#include <type_traits>

#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <memory>
#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <memory>
#include <cassert>
#include <utility>

#include "reset_helper.h"
#include "test_macros.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include <type_traits>
#include <climits>
#include <cstddef>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// T is an array type of known bound ([dcl.array])

#include <type_traits>
#include <cstddef>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// T is an array type of unknown bound ([dcl.array])

#include <type_traits>
#include <cstddef>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// is_signed

#include <type_traits>
#include <cstddef>

#include "test_macros.h"

template <class T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// is_unsigned

#include <type_traits>
#include <cstddef>

#include "test_macros.h"

template <class T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
// charT zero = charT('0'), charT one = charT('1')); // constexpr since C++23

#include <bitset>
#include <cassert>
#include <algorithm> // for 'min' and 'max'
#include <cassert>
#include <stdexcept> // for 'invalid_argument'
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@

#include <tuple>
#include <array>
#include <utility>
#include <string>
#include <cassert>
#include <cstdint>
#include <string>
#include <utility>

#include "test_macros.h"
#include "type_id.h"
Expand Down Expand Up @@ -197,7 +198,7 @@ void test_noexcept() {

namespace LWG3528 {
template <class T, class Tuple>
auto test_make_from_tuple(T&&, Tuple&& t) -> decltype(std::make_from_tuple<T>(t), uint8_t()) {
auto test_make_from_tuple(T&&, Tuple&& t) -> decltype(std::make_from_tuple<T>(t), std::uint8_t()) {
return 0;
}
template <class T, class Tuple>
Expand All @@ -207,14 +208,14 @@ uint32_t test_make_from_tuple(...) {

template <class T, class Tuple>
static constexpr bool can_make_from_tuple =
std::is_same_v<decltype(test_make_from_tuple<T, Tuple>(T{}, Tuple{})), uint8_t>;
std::is_same_v<decltype(test_make_from_tuple<T, Tuple>(T{}, Tuple{})), std::uint8_t>;

#ifdef _LIBCPP_VERSION
template <class T, class Tuple>
auto test_make_from_tuple_impl(T&&, Tuple&& t)
-> decltype(std::__make_from_tuple_impl<T>(
t, typename std::__make_tuple_indices< std::tuple_size_v<std::remove_reference_t<Tuple>>>::type{}),
uint8_t()) {
std::uint8_t()) {
return 0;
}
template <class T, class Tuple>
Expand All @@ -224,7 +225,7 @@ uint32_t test_make_from_tuple_impl(...) {

template <class T, class Tuple>
static constexpr bool can_make_from_tuple_impl =
std::is_same_v<decltype(test_make_from_tuple_impl<T, Tuple>(T{}, Tuple{})), uint8_t>;
std::is_same_v<decltype(test_make_from_tuple_impl<T, Tuple>(T{}, Tuple{})), std::uint8_t>;
#endif // _LIBCPP_VERSION

struct A {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// UNSUPPORTED: no-rtti

#include <memory_resource>
#include <cstddef>
#include <type_traits>

static_assert(std::is_same_v<std::pmr::polymorphic_allocator<>, std::pmr::polymorphic_allocator<std::byte>>);
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <cassert>
#include <string>
#include <tuple>
#include <utility>

#include "archetypes.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
// constexpr bool cmp_greater_equal(T t, U u) noexcept; // C++20

#include <utility>
#include <cassert>
#include <limits>
#include <numeric>
#include <tuple>
#include <cassert>
#include <type_traits>

#include "test_macros.h"

Expand Down
3 changes: 2 additions & 1 deletion libcxx/test/support/format.functions.common.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
#include <cctype>
#include <charconv>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <format>
#include <ranges>
#include <string>
#include <string_view>
#include <string>
#include <vector>

#include "make_string.h"
Expand Down
3 changes: 2 additions & 1 deletion libcxx/test/support/hexfloat.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
#ifndef HEXFLOAT_H
#define HEXFLOAT_H

#include <cmath>
#include <climits>
#include <cmath>
#include <cstddef>

template <class T>
class hexfloat
Expand Down
3 changes: 2 additions & 1 deletion libcxx/test/support/operator_hijacker.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
#define SUPPORT_OPERATOR_HIJACKER_H

#include <cstddef>
#include <memory>
#include <functional>
#include <memory>
#include <string>
#include <type_traits>

#include "test_macros.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// Verify TEST_WORKAROUND_MSVC_BROKEN_ZA_CTOR_CHECK.

#include <type_traits>
#include <utility>

#include "test_macros.h"
#include "test_workarounds.h"
Expand Down
2 changes: 1 addition & 1 deletion libcxx/test/support/test_convertible.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Unlike 'std::is_convertible' which only allows checking for single argument
// conversions.

#include <type_traits>
#include <utility>

#include "test_macros.h"

Expand Down
2 changes: 1 addition & 1 deletion llvm/RELEASE_TESTERS.TXT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
This file is a list of the people responsible for ensuring that targets and
environments get tested and validated during the release process.

They will also, in conjunction with the release manager and the code owners,
They will also, in conjunction with the release manager and the maintainers,
accept patches into stable release branches, tag critical bugs and release
stoppers as well as make sure that no regressions were observed on their
targets since the last release.
Expand Down
6 changes: 3 additions & 3 deletions llvm/docs/CodeReview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ Experts Should Review Code
--------------------------

If you are an expert in an area of the compiler affected by a proposed patch,
then you are highly encouraged to review the code. If you are a relevant code
owner, and no other experts are reviewing a patch, you must either help arrange
for an expert to review the patch or review it yourself.
then you are highly encouraged to review the code. If you are a relevant
maintainer, and no other experts are reviewing a patch, you must either help
arrange for an expert to review the patch or review it yourself.

Code Reviews, Speed, and Reciprocity
------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion llvm/docs/Contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ For more information about the workflow of using GitHub Pull Requests see our

To make sure the right people see your patch, please select suitable reviewers
and add them to your patch when requesting a review. Suitable reviewers are the
code owner (see CODE_OWNERS.txt) and other people doing work in the area your
maintainers (see ``Maintainers.rst``) and other people doing work in the area your
patch touches. Github will normally suggest some reviewers based on rules or
people that have worked on the code before. If you are a new contributor, you
will not be able to select reviewers in such a way, in which case you can still
Expand Down
Loading