| /llvm-project-15.0.7/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
| H A D | construct_pair.pass.cpp | 47 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 48 assert(checkConstruct<>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 49 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 70 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 71 assert(checkConstruct<>(ptr->second, UA_None)); in test_no_inner_alloc() 72 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 103 assert(checkConstruct<>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() 104 assert(checkConstruct<>(ptr->second, UA_AllocLast)); in test_with_inner_alloc() 105 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc() 130 assert(checkConstruct<>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() [all …]
|
| H A D | construct_pair_rvalue.pass.cpp | 51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 52 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 53 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 78 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 79 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc() 80 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 115 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() 116 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc() 117 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc() 146 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() [all …]
|
| H A D | construct_pair_values.pass.cpp | 49 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 50 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 51 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 74 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 75 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc() 76 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 109 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() 110 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc() 111 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc() 138 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() [all …]
|
| H A D | construct_pair_piecewise.pass.cpp | 52 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 53 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 54 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 79 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 80 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc() 81 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 116 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() 117 assert(checkConstruct<int &&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc() 118 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc() 147 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() [all …]
|
| H A D | construct_pair_const_lvalue_pair.pass.cpp | 51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 52 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 53 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 78 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 79 assert(checkConstruct<int const&>(ptr->second, UA_None)); in test_no_inner_alloc() 80 assert((P.checkConstruct<std::piecewise_construct_t const&, in test_no_inner_alloc() 115 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() 116 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast)); in test_with_inner_alloc() 117 assert((POuter.checkConstruct<std::piecewise_construct_t const&, in test_with_inner_alloc() 146 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, I)); in test_with_inner_alloc() [all …]
|
| H A D | construct_type.pass.cpp | 53 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_None))); in test_bullet_one() 54 assert((POuter.checkConstruct<int&, int const&, int&&>(O, ptr))); in test_bullet_one() 86 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_AllocArg, I))); in test_bullet_two() 87 assert((POuter.checkConstruct<std::allocator_arg_t const&, in test_bullet_two() 119 assert((checkConstruct<int&, int const&, int&&>(*ptr, UA_AllocLast, I))); in test_bullet_three() 120 assert((POuter.checkConstruct< in test_bullet_three()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | uses_alloc_types.h | 75 bool checkConstruct(TestType& value, UsesAllocatorType form, in checkConstruct() function 82 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 84 return value.template checkConstruct<ArgTypes&&...>(form, alloc); in checkConstruct() 90 bool checkConstruct(TestType& value, UsesAllocatorType form) { in checkConstruct() function 91 return value.template checkConstruct<ArgTypes&&...>(form); in checkConstruct() 180 bool checkConstruct(UsesAllocatorType expectType) const { 190 bool checkConstruct(UsesAllocatorType expectType,
|
| H A D | controlled_allocators.h | 185 bool checkConstruct(Alloc const&, Tp *p) const { in checkConstruct() function
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
| H A D | construct_types.pass.cpp | 66 return checkConstruct<Args&&...>(*TH.ptr, UAExpect, &TH.R); in doTest() 77 return checkConstruct<Args&&...>(*TH.ptr, UA_None); in doTestUsesAllocV0() 88 return checkConstruct<Args&&...>(*TH.ptr, UA_AllocArg, ealloc); in doTestUsesAllocV1() 98 return checkConstruct<Args&&...>(*TH.ptr, UA_AllocLast, ealloc); in doTestUsesAllocV2()
|
| H A D | construct_pair_const_lvalue_pair.pass.cpp | 61 bool tres = checkConstruct<decltype((p.first))>(ptr->first, TExpect, M) && in doTest() 64 bool ures = checkConstruct<decltype((p.second))>(ptr->second, UExpect, M) && in doTest()
|
| H A D | construct_pair_rvalue.pass.cpp | 62 bool tres = checkConstruct<TT&&>(ptr->first, TExpect, M) && in doTest() 65 bool ures = checkConstruct<UU&&>(ptr->second, UExpect, M) && in doTest()
|
| H A D | construct_pair_values.pass.cpp | 60 bool tres = checkConstruct<TT&&>(ptr->first, TExpect, M) && in doTest() 63 bool ures = checkConstruct<UU&&>(ptr->second, UExpect, M) && in doTest()
|
| H A D | construct_piecewise_pair.pass.cpp | 55 bool tres = checkConstruct<TTuple&&...>(ptr->first, TExpect, M); in doTest() 56 bool ures = checkConstruct<UTuple&&...>(ptr->second, UExpect, M); in doTest()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | MakeSmartPtrCheck.h | 55 void checkConstruct(SourceManager &SM, ASTContext *Ctx,
|
| H A D | MakeSmartPtrCheck.cpp | 142 checkConstruct(SM, Result.Context, Construct, Type, New); in check() 147 void MakeSmartPtrCheck::checkConstruct(SourceManager &SM, ASTContext *Ctx, in checkConstruct() function in clang::tidy::modernize::MakeSmartPtrCheck
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
| H A D | derived_from_tuple_like.pass.cpp | 54 bool checkConstruct(int expect, ValueCategory expect_vc) const { in checkConstruct() function
|