Lines Matching +full:- +full:- +full:requested +full:- +full:by
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -std=c++20 \
2 // RUN: -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -verify \
3 // RUN: -fblocks
4 #include "Inputs/std-coroutine.h"
29 pointer operator->();
48 Awaiter<T *> await_transform(T *) = delete; // expected-note {{explicitly deleted}}
53 …for co_await(auto i : arr) {} // expected-warning {{'for co_await' belongs to CoroutineTS instead … in g()
54 // expected-error@-1 {{call to deleted member function 'await_transform'}} in g()
55 // expected-note@-2 {{'await_transform' implicitly required by 'co_await' here}} in g()
67 Awaiter<T> await_transform(BeginTag<T>) = delete; // expected-note 1+ {{explicitly deleted}}
70 CoawaitTag<T> await_transform(IncTag<T>); // expected-note 1+ {{candidate}}
75 …for co_await(auto i : R) {} // expected-warning {{'for co_await' belongs to CoroutineTS instead of… in bad_begin()
76 // expected-error@-1 {{call to deleted member function 'await_transform'}} in bad_begin()
77 // expected-note@-2 {{'await_transform' implicitly required by 'co_await' here}} in bad_begin()
82 …for co_await(auto i : R) {} // expected-warning {{'for co_await' belongs to CoroutineTS instead of… in bad_begin_template()
83 // expected-error@-1 {{call to deleted member function 'await_transform'}} in bad_begin_template()
84 // expected-note@-2 {{'await_transform' implicitly required by 'co_await' here}} in bad_begin_template()
86 template ForLoopAwaiterBadBeginTransform bad_begin_template(int); // expected-note {{requested here…
90 // expected-note@-1 1+ {{explicitly deleted}}
109 …for co_await(auto i : R) {} // expected-warning {{'for co_await' belongs to CoroutineTS instead of… in bad_inc_transform()
110 // expected-error@-1 {{overload resolution selected deleted operator 'co_await'}} in bad_inc_transform()
111 // expected-note@-2 {{in implicit call to 'operator++' for iterator of type 'Range<float>'}} in bad_inc_transform()
117 …for co_await(auto i : R) {} // expected-warning {{'for co_await' belongs to CoroutineTS instead of… in bad_inc_transform_template()
118 // expected-error@-1 {{overload resolution selected deleted operator 'co_await'}} in bad_inc_transform_template()
119 // expected-note@-2 {{in implicit call to 'operator++' for iterator of type 'Range<long>'}} in bad_inc_transform_template()
121 …ForLoopAwaiterBadIncTransform bad_inc_transform_template(long); // expected-note {{requested here}}
128 …for co_await(auto i : foo(T{})) {} // expected-warning {{'for co_await' belongs to CoroutineTS ins… in never_instant()
129 // expected-error@-1 {{'co_await' cannot be used in a constexpr function}} in never_instant()
152 …for co_await(auto i : R) {} // expected-warning {{'for co_await' belongs to CoroutineTS instead of… in test_coawait_lookup()
153 // expected-error@-1 {{no member named 'await_ready' in 'CoawaitTag<Iter<int>>'}} in test_coawait_lookup()
155 template ForLoopAwaiterCoawaitLookup test_coawait_lookup(int); // expected-note {{requested here}}
158 // should not be found by lookup.