Searched refs:HType (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCUDA/ |
| H A D | function-template-overload.cu | 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 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() 90 HType h = overload_h_d(10); in hf() 91 HType h2i = overload_h_d2<int>(11); in hf() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
| H A D | resume.pass.cpp | 52 using HType = std::coroutine_handle<Promise>; in do_test() typedef 59 static_assert(has_resume<HType&>(), ""); in do_test() 60 static_assert(has_resume<HType&&>(), ""); in do_test() 61 static_assert(has_call_operator<HType&>(), ""); in do_test() 62 static_assert(has_call_operator<HType&&>(), ""); in do_test() 65 static_assert(has_resume<HType const&>(), ""); in do_test() 66 static_assert(has_resume<HType const&&>(), ""); in do_test() 67 static_assert(has_call_operator<HType const&>(), ""); in do_test() 68 static_assert(has_call_operator<HType const&&>(), ""); in do_test()
|
| H A D | destroy.pass.cpp | 40 using HType = std::coroutine_handle<Promise>; in do_test() typedef 45 static_assert(has_destroy<HType&>(), ""); in do_test() 46 static_assert(has_destroy<HType&&>(), ""); in do_test() 49 static_assert(has_destroy<HType const&>(), ""); in do_test() 50 static_assert(has_destroy<HType const&&>(), ""); in do_test()
|
| /llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.resumption/ |
| H A D | resume.pass.cpp | 54 using HType = coro::coroutine_handle<Promise>; in do_test() typedef 61 static_assert(has_resume<HType&>(), ""); in do_test() 62 static_assert(has_resume<HType&&>(), ""); in do_test() 63 static_assert(has_call_operator<HType&>(), ""); in do_test() 64 static_assert(has_call_operator<HType&&>(), ""); in do_test() 67 static_assert(!has_resume<HType const&>(), ""); in do_test() 68 static_assert(!has_resume<HType const&&>(), ""); in do_test() 69 static_assert(!has_call_operator<HType const&>(), ""); in do_test() 70 static_assert(!has_call_operator<HType const&&>(), ""); in do_test()
|
| H A D | destroy.pass.cpp | 41 using HType = coro::coroutine_handle<Promise>; in do_test() typedef 46 static_assert(has_destroy<HType&>(), ""); in do_test() 47 static_assert(has_destroy<HType&&>(), ""); in do_test() 50 static_assert(!has_destroy<HType const&>(), ""); in do_test() 51 static_assert(!has_destroy<HType const&&>(), ""); in do_test()
|