| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| H A D | move.pass.cpp | 53 using Tup = std::tuple<Elem>; in test_sfinae() typedef 58 static_assert(std::is_default_constructible<Tup>::value, ""); in test_sfinae() 59 static_assert(std::is_move_constructible<Tup>::value, ""); in test_sfinae() 60 static_assert(!std::is_copy_constructible<Tup>::value, ""); in test_sfinae() 61 static_assert(!std::is_constructible<Tup, Tup&>::value, ""); in test_sfinae() 65 static_assert(std::is_constructible<Tup, Elem&&>::value, ""); in test_sfinae() 67 static_assert(!std::is_constructible<Tup, Elem&>::value, ""); in test_sfinae() 71 static_assert(std::is_constructible<Tup, Tag, Alloc>::value, ""); in test_sfinae() 72 static_assert(std::is_constructible<Tup, Tag, Alloc, Tup&&>::value, ""); in test_sfinae() 73 static_assert(!std::is_constructible<Tup, Tag, Alloc, Tup const&>::value, ""); in test_sfinae() [all …]
|
| H A D | deduct.pass.cpp | 124 using Tup = std::tuple<int, decltype(nullptr)>; in test_primary_template() typedef 125 const Tup t(42, nullptr); in test_primary_template() 128 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 131 using Tup = std::tuple<void*, unsigned, char>; in test_primary_template() typedef 132 std::tuple t1(Tup(nullptr, 42, 'a')); in test_primary_template() 133 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 137 const Tup t(42, nullptr); in test_primary_template() 140 ASSERT_SAME_TYPE(decltype(t1), Tup); in test_primary_template() 143 using Tup = std::tuple<void*, unsigned, char>; in test_primary_template() typedef 144 std::tuple t1(AT, A, Tup(nullptr, 42, 'a')); in test_primary_template() [all …]
|
| H A D | PR27684_contains_ref_to_incomplete_type.pass.cpp | 33 using Tup = std::tuple<const IT&, const IT&>; in main() typedef 34 Tup t(cinc1, cinc2); in main() 39 using Tup = std::tuple<const IT&, const IT&>; in main() typedef 40 Tup t(inc1, inc2); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
| H A D | apply.pass.cpp | 43 using Tup = std::tuple<>; in test_constexpr_evaluation() typedef 45 constexpr Tup t; in test_constexpr_evaluation() 50 using Tup = std::tuple<int>; in test_constexpr_evaluation() typedef 52 constexpr Tup t(42); in test_constexpr_evaluation() 59 constexpr Tup t(42, 101); in test_constexpr_evaluation() 66 constexpr Tup t(42, 101); in test_constexpr_evaluation() 73 constexpr Tup t(42, 101, -1); in test_constexpr_evaluation() 166 Tup t(-1, x, std::move(y)); in test_call_quals_and_arg_types() 167 Tup const& ct = t; in test_call_quals_and_arg_types() 194 Tup t; in test_noexcept() [all …]
|
| H A D | make_from_tuple.pass.cpp | 108 using Tup = std::tuple<>; in test_perfect_forwarding() typedef 109 Tup tup; in test_perfect_forwarding() 110 Tup const& ctup = tup; in test_perfect_forwarding() 115 using Tup = std::tuple<int>; in test_perfect_forwarding() typedef 116 Tup tup(42); in test_perfect_forwarding() 117 Tup const& ctup = tup; in test_perfect_forwarding() 128 Tup const& ctup = tup; in test_perfect_forwarding() 138 Tup tup(x, "hello world"); in test_perfect_forwarding() 139 Tup const& ctup = tup; in test_perfect_forwarding() 148 Tup tup = {42, 101, -1}; in test_perfect_forwarding() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
| H A D | derived_from_tuple_like.pass.cpp | 69 template <class Tup> 70 struct DerivedFromTup : Tup { 71 using Tup::Tup;
|
| /llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 474 template <typename Tup, size_t kRemainingSize> 476 OutIter operator() (Func f, const Tup& t, OutIter out) const { in operator() 478 return IterateOverTuple<Tup, kRemainingSize - 1>()(f, t, out); in operator() 481 template <typename Tup> 482 struct IterateOverTuple<Tup, 0> { 483 OutIter operator() (Func /* f */, const Tup& /* t */, OutIter out) const {
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineBlockPlacement.cpp | 1659 for (auto &Tup : DupCandidates) { in selectBestSuccessor() local 1662 std::tie(DupProb, Succ) = Tup; in selectBestSuccessor()
|