Home
last modified time | relevance | path

Searched refs:co_return (Results 1 – 25 of 85) sorted by relevance

1234

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcoroutine-rvo.cpp65 co_return value; in local2val()
75 co_return value; in param2val()
79co_return value; // expected-error {{rvalue reference to type 'NoCopyNoMove' cannot bind to lvalue… in lvalue2val()
83 co_return value; in rvalue2val()
87 co_return value; in lvalue2ref()
99 co_return t; in conversion_operator()
107 co_return w; in converting_constructor()
113 co_return result; in derived2base()
118co_return *this; // expected-error {{rvalue reference to type 'RetThis' cannot bind to lvalue of t… in foo()
143 co_return value; // We should deduce U = MoveOnly. in param2template()
[all …]
H A Dcoroutine-rvo-exp-namespace.cpp66co_return value; // expected-warning {{support for std::experimental::coroutine_traits will be rem… in local2val()
76 co_return value; in param2val()
80co_return value; // expected-error {{rvalue reference to type 'NoCopyNoMove' cannot bind to lvalue… in lvalue2val()
84 co_return value; in rvalue2val()
88 co_return value; in lvalue2ref()
100 co_return t; in conversion_operator()
108 co_return w; in converting_constructor()
114 co_return result; in derived2base()
119co_return *this; // expected-error {{rvalue reference to type 'RetThis' cannot bind to lvalue of t… in foo()
144 co_return value; // We should deduce U = MoveOnly. in param2template()
[all …]
H A Dcoroutine-allocs.cpp23 co_return; in f1()
44 co_return; in f2()
48 co_return; in f3()
52 co_return; in f4()
56 co_return; in f5()
60 co_return; in f6()
82 co_return; in f7()
H A Dcoroutines.cpp189 co_return 42; in coreturn()
833 co_return; in throwing_in_class_new()
838 co_return; in dependent_throwing_in_class_new()
852 co_return; in uses_nothrow_new()
872 co_return; in good_coroutine_calls_custom_new_operator()
898 co_return; in good_coroutine_calls_noexcept_custom_new_operator()
1325 co_return; in bad_coroutine_calls_deleted_promise_constructor()
1346 co_return; in good_coroutine_calls_default_constructor()
1364 co_return; in good_coroutine_calls_custom_constructor()
1392 co_return; in bad_coroutine_calls_with_no_matching_constructor()
[all …]
H A Dcoroutines-exp-namespace.cpp198 co_return 42; in coreturn()
844 co_return; in throwing_in_class_new()
849 co_return; in dependent_throwing_in_class_new()
862 co_return; in uses_nothrow_new()
867 co_return; in dependent_uses_nothrow_new()
882 co_return; in good_coroutine_calls_custom_new_operator()
908 co_return; in good_coroutine_calls_noexcept_custom_new_operator()
1304 co_return; in bad_coroutine_calls_deleted_promise_constructor()
1325 co_return; in good_coroutine_calls_default_constructor()
1343 co_return; in good_coroutine_calls_custom_constructor()
[all …]
H A Dcoreturn.cpp95 co_return 42; in test2a()
105 co_return 42; in test4()
114 co_return 42; in test6()
119 co_return 42; in test7()
121 co_return 101; in test7()
130 co_return; in test9()
139 co_return 42; in test11()
H A Dcoreturn-exp-namespace.cpp96 co_return 42; in test2a()
106 co_return 42; in test4()
115 co_return 42; in test6()
120 co_return 42; in test7()
122 co_return 101; in test7()
131 co_return; in test9()
140 co_return 42; in test11()
H A Dcoroutine-unhandled_exception-warning.cpp35 co_return; in test0()
39 co_return; in test0()
H A Dcoroutine-unhandled_exception-warning-exp-namespace.cpp35co_return; // expected-warning {{support for std::experimental::coroutine_traits will be removed… in test0()
40 co_return; in test0()
H A Dcoroutine-uninitialized-warning-crash.cpp27 co_return; in f()
35 co_return; in g()
H A Dcoroutine-uninitialized-warning-crash-exp-namespace.cpp26 co_return; in f()
34 co_return; in g()
/llvm-project-15.0.7/clang/test/CodeGenCoroutines/
H A Dcoro-alloc.cpp78 co_return; in f0()
103 co_return; in f1()
131 co_return; in f1a()
157 co_return; in f1b()
182 co_return; in f2()
208 co_return; in f3()
244 co_return; in f4()
H A Dcoro-alloc-exp-namespace.cpp80 co_return; in f0()
105 co_return; in f1()
133 co_return; in f1a()
159 co_return; in f1b()
184 co_return; in f2()
210 co_return; in f3()
246 co_return; in f4()
H A Dcoro-always-inline.cpp45 void foo() { co_return; } in foo()
52 co_return; in bar()
56 co_return; in baz()
H A Dcoro-params-exp-namespace.cpp89 co_return; in f()
131 co_return; in dependent_params()
179 co_return; in coroutine_matching_promise_constructor()
204 co_return; in good_coroutine_calls_custom_constructor()
H A Dcoro-params.cpp89 co_return; in f()
131 co_return; in dependent_params()
177 co_return; in coroutine_matching_promise_constructor()
202 co_return; in good_coroutine_calls_custom_constructor()
H A Dcoro-ret-void.cpp29 co_return (void) A{}; in f2()
48 co_return 42; in g()
H A Dcoro-await-resume-eh.cpp84 co_return; in f()
111 co_return; in g()
H A Dcoro-ret-void-exp-namespace.cpp30 co_return(void) A{}; in f2()
48 co_return 42; in g()
H A Dcoro-await-resume-eh-exp-namespace.cpp86 co_return; in f()
113 co_return; in g()
H A Dcoro-return.cpp39 co_return; in f0()
58 co_return 42; in f1()
H A Dcoro-return-exp-namespace.cpp39 co_return; in f0()
58 co_return 42; in f1()
H A Dcoro-gro2.cpp44 co_return; in f()
82 co_return; in h()
/llvm-project-15.0.7/clang/test/CoverageMapping/
H A Dcoroutine.cpp44 co_return x + 42; // CHECK-NEXT: Gap,File 0, [[@LINE-1]]:4 -> [[@LINE-1]]:10 = (#0 - #1) in f1()
46 co_return x; // CHECK-NEXT: Gap,File 0, [[@LINE-1]]:4 -> [[@LINE]]:3 = #1 in f1()
/llvm-project-15.0.7/clang/test/Parser/
H A Dcxx1z-coroutines.cpp18 co_return t; in f()
20 co_return {t}; in f()

1234