Searched refs:HType (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang/test/SemaCUDA/ |
D | function-template-overload.cu | 6 struct HType {}; // expected-note-re 6 {{candidate constructor {{.*}} not viable: no known conversi… struct 10 template <typename T> __host__ HType overload_h_d(T a) { return HType(); } in overload_h_d() 20 template __device__ __host__ HType overload_h_d(int a); // There's no HD template... 23 template __host__ HType overload_h_d(int a); // OK. instantiates H 28 template <> __device__ __host__ HType overload_h_d(long a); // There's no HD template... 31 template <> __host__ HType overload_h_d(long a); // OK. instantiates H 45 template <> __host__ HType overload_hd(int a); 47 template __host__ HType overload_hd(long a); 49 __host__ HType overload_hd(int a); // OK 56 template <typename T> __host__ HType overload_h_d2(T a) { return HType(); } in overload_h_d2() [all …]
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
D | resume.pass.cpp | 56 using HType = coro::coroutine_handle<Promise>; in do_test() typedef 63 static_assert(has_resume<HType&>(), ""); in do_test() 64 static_assert(has_resume<HType&&>(), ""); in do_test() 65 static_assert(has_call_operator<HType&>(), ""); in do_test() 66 static_assert(has_call_operator<HType&&>(), ""); in do_test() 69 static_assert(!has_resume<HType const&>(), ""); in do_test() 70 static_assert(!has_resume<HType const&&>(), ""); in do_test() 71 static_assert(!has_call_operator<HType const&>(), ""); in do_test() 72 static_assert(!has_call_operator<HType const&&>(), ""); in do_test()
|
D | destroy.pass.cpp | 43 using HType = coro::coroutine_handle<Promise>; in do_test() typedef 48 static_assert(has_destroy<HType&>(), ""); in do_test() 49 static_assert(has_destroy<HType&&>(), ""); in do_test() 52 static_assert(!has_destroy<HType const&>(), ""); in do_test() 53 static_assert(!has_destroy<HType const&&>(), ""); in do_test()
|
/external/llvm-project/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
D | resume.pass.cpp | 55 using HType = coro::coroutine_handle<Promise>; in do_test() typedef 62 static_assert(has_resume<HType&>(), ""); in do_test() 63 static_assert(has_resume<HType&&>(), ""); in do_test() 64 static_assert(has_call_operator<HType&>(), ""); in do_test() 65 static_assert(has_call_operator<HType&&>(), ""); in do_test() 68 static_assert(!has_resume<HType const&>(), ""); in do_test() 69 static_assert(!has_resume<HType const&&>(), ""); in do_test() 70 static_assert(!has_call_operator<HType const&>(), ""); in do_test() 71 static_assert(!has_call_operator<HType const&&>(), ""); in do_test()
|
D | destroy.pass.cpp | 42 using HType = coro::coroutine_handle<Promise>; in do_test() typedef 47 static_assert(has_destroy<HType&>(), ""); in do_test() 48 static_assert(has_destroy<HType&&>(), ""); in do_test() 51 static_assert(!has_destroy<HType const&>(), ""); in do_test() 52 static_assert(!has_destroy<HType const&&>(), ""); in do_test()
|