| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
| H A D | move_convert.runtime.pass.cpp | 40 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 41 static_assert(!std::is_constructible<U1, U2&>::value, ""); in test_sfinae() 47 using U2 = std::unique_ptr<A[]>; in test_sfinae() typedef 48 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 49 static_assert(!std::is_constructible<U2, U1&&>::value, ""); in test_sfinae() 63 using U2 = std::unique_ptr<A[], GenericDeleter<1> >; in test_sfinae() typedef 64 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 68 using U2 = std::unique_ptr<A[], const Deleter<A[]>&>; in test_sfinae() typedef 69 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 70 static_assert(!std::is_constructible<U2, U1&&>::value, ""); in test_sfinae() [all …]
|
| H A D | move_convert.pass.cpp | 107 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 112 using U2 = std::unique_ptr<VT, GenericDeleter<1> >; in test_sfinae() typedef 113 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 122 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 139 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 184 using U2 = std::unique_ptr<VT, TD2 >; in test_deleter_value_category() typedef 185 U2 u2; in test_deleter_value_category() 192 using U2 = std::unique_ptr<VT, TD2& >; in test_deleter_value_category() typedef 193 U2 u2(nullptr, d2); in test_deleter_value_category() 199 using U2 = std::unique_ptr<VT, TD2 const& >; in test_deleter_value_category() typedef [all …]
|
| H A D | default.pass.cpp | 55 using U2 = std::unique_ptr<ElemType, Del&>; in test_sfinae() typedef 58 static_assert(!std::is_default_constructible<U2>::value, ""); in test_sfinae() 69 using U2 = std::unique_ptr<ElemType, Deleter<ElemType> >; in test_basic() typedef 71 static_assert(std::is_nothrow_default_constructible<U2>::value, ""); in test_basic()
|
| H A D | nullptr.pass.cpp | 37 using U2 = std::unique_ptr<VT, Deleter<VT> >; in test_basic() typedef 40 static_assert(std::is_nothrow_constructible<U2, decltype(nullptr)>::value, in test_basic() 72 using U2 = std::unique_ptr<VT, Del&>; in test_sfinae() typedef 75 static_assert(!std::is_constructible<U2, decltype(nullptr)>::value, ""); in test_sfinae()
|
| H A D | pointer.pass.cpp | 46 using U2 = std::unique_ptr<ValueT, Deleter<ValueT> >; in test_pointer() typedef 50 static_assert(std::is_nothrow_constructible<U2, A*>::value, ""); in test_pointer() 54 static_assert(!std::is_convertible<A*, U2>::value, ""); in test_pointer() 127 using U2 = std::unique_ptr<T, Del&>; in test_sfinae() typedef 130 static_assert(!std::is_constructible<U2, T*>::value, ""); in test_sfinae()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/ |
| H A D | move_convert.pass.cpp | 191 U2 u2(nullptr, dsource); in doDeleterTest() 324 using U2 = std::unique_ptr<VT, TD2 >; in test_deleter_value_category() typedef 326 U2 u2; in test_deleter_value_category() 335 U2 u2; in test_deleter_value_category() 344 U2 u2; in test_deleter_value_category() 354 U2 u2(nullptr, d2); in test_deleter_value_category() 363 U2 u2(nullptr, d2); in test_deleter_value_category() 373 U2 u2(nullptr, d2); in test_deleter_value_category() 382 U2 u2(nullptr, d2); in test_deleter_value_category() 392 U2 u2(nullptr, cd2); in test_deleter_value_category() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.union/ |
| H A D | p2-0x.cpp | 22 union U2 { union 27 template<typename T> constexpr int U2<T>::k1 = sizeof(U2<T>); 28 template<typename T> double U2<T>::k2 = 5.3; 30 static_assert(U2<int>::k1 == sizeof(int), ""); 31 static_assert(U2<char>::k1 == sizeof(char), "");
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
| H A D | gcd.pass.cpp | 58 using U2 = std::make_unsigned_t<Input2>; in do_test() typedef 73 using Output = std::common_type_t<U1, U2>; in do_test() 74 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() 75 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test() 78 using Output = std::common_type_t<S1, U2>; in do_test() 79 accumulate &= test0<S1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() 80 accumulate &= test0<U2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 81 accumulate &= test0<S1, U2, Output>(-TC.x, TC.y, TC.expect); in do_test() 82 accumulate &= test0<U2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
| H A D | lcm.pass.cpp | 55 using U2 = std::make_unsigned_t<Input2>; in do_test() typedef 70 using Output = std::common_type_t<U1, U2>; in do_test() 71 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() 72 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test() 75 using Output = std::common_type_t<S1, U2>; in do_test() 76 accumulate &= test0<S1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() 77 accumulate &= test0<U2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 78 accumulate &= test0<S1, U2, Output>(-TC.x, TC.y, TC.expect); in do_test() 79 accumulate &= test0<U2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
|
| /llvm-project-15.0.7/clang/unittests/Format/ |
| H A D | MacroCallReconstructorTest.cpp | 249 Matcher U2(Call2, Lex); in TEST_F() local 252 auto Chunk3 = U2.consume(")"); in TEST_F() 274 Matcher U2(Call2, Lex); in TEST_F() local 318 Matcher U2(Call2, Lex); in TEST_F() local 321 U2.consume("a *b"); in TEST_F() 322 auto Chunk2Mid = U2.consume(";"); in TEST_F() 324 auto Chunk2End = U2.consume(")"); in TEST_F() 384 Matcher U2(Call2, Lex); in TEST_F() local 393 auto Chunk2End = U2.consume(")"); in TEST_F() 504 Matcher U2(Call2, Lex); in TEST_F() local [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | mcu-struct-return.c | 13 union U2 { union 39 union U2 foo2(void) { return u2; } in foo2() 53 union U2 x2 = foo2(); in run()
|
| H A D | xcore-stringtype.c | 154 union U2; 155 union U1{union U2 *pu2;}; 157 union U2{union U3 *pu3;}; union 161 void unionType2(union U2 u2) {} in unionType2()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
| H A D | is_final.pass.cpp | 19 union U2 final { }; union 59 test_is_final <U2>(); in main() 60 test_is_not_final<U2*>(); in main()
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | arc-0x.mm | 137 union U2 { 139 ~U2(); 186 U2 *x2; 210 U2 t2; 217 void testDestructor(U0 *u0, U1 *u1, U2 *u2, U3 *u3, S0 *s0, S1 *s1, S2 *s2) { 227 void testCopyConstructor(U0 *u0, U1 *u1, U2 *u2, U3 *u3, S0 *s0, S1 *s1, S2 *s2) { 230 U2 t2(*u2); // expected-error {{call to implicitly-deleted copy constructor}} 237 void testCopyAssignment(U0 *u0, U1 *u1, U2 *u2, U3 *u3, S0 *s0, S1 *s1, S2 *s2) { 251 void testMoveConstructor(U0 *u0, U1 *u1, U2 *u2, U3 *u3, S0 *s0, S1 *s1, S2 *s2) { 254 … U2 t2(static_cast<U2 &&>(*u2)); // expected-error {{call to implicitly-deleted copy constructor}} [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | class-proto-1.m | 27 @class U1, U2; // expected-note {{forward declaration of class here}} 34 @interface U2 @end interface 36 @interface I4 : U2 <p1,p2>
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | err_typecheck_assign_const.cpp | 53 struct U2 { struct 58 const U2 u2 = U2(); // expected-note{{non-static data member 'u2' declared const here}} argument
|
| H A D | inherit.cpp | 23 union U2 {}; union 25 class G : public U2 { }; // expected-error{{unions cannot be base classes}}
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-APValue-union.cpp | 25 union U2 { union 49 constexpr U2 u2{}; in Test()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | x86_64-arguments-avx.cpp | 38 union U2 { union 44 union U2;
|
| /llvm-project-15.0.7/clang/test/ASTMerge/struct/Inputs/ |
| H A D | struct2.c | 108 } U2; member 133 } U2; member
|
| H A D | struct1.c | 111 } U2; member 136 } U2; member
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | deduction-guide.cpp | 126 template<typename U1, typename U2> D(B<U1, U2>*); // expected-note {{candidate}}
|
| H A D | friend-template.cpp | 125 template<class U1, class U2, class U3, class T> 126 friend A<U1, U2, U3>& inner::f0(A<U1, U2, U3>&, T);
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-emplace.cpp | 28 template <typename U1, typename U2> 29 pair(const pair<U1, U2> &){}; in pair() argument 30 template <typename U1, typename U2> 31 pair(pair<U1, U2> &&){}; in pair() argument 288 template <typename U1, typename U2> 289 tuple(const pair<U1, U2> &) { in tuple() argument 292 template <typename U1, typename U2> 293 tuple(pair<U1, U2> &&) { in tuple() argument
|
| /llvm-project-15.0.7/mlir/test/Dialect/Affine/ |
| H A D | loop-permute.mlir | 9 func.func @permute(%U0 : index, %U1 : index, %U2 : index) { 13 affine.for %arg2 = 0 to %U2 {
|