Lines Matching +defs:u +defs:a

73   for (int a : A())  in g()  local
75 …for (char *a : A()) { // expected-error {{cannot initialize a variable of type 'char *' with an lv… in g() local
77 …for (char *a : X::B()) { // expected-error {{cannot initialize a variable of type 'char *' with an… in g() local
80 for (double a : f) { // expected-error {{cannot use type '<overloaded function type>' as a range}} in g() local
82 for (auto a : A()) { in g() local
84 for (auto a : X::B()) { in g() local
86 …for (auto *a : A()) { // expected-error {{variable 'a' with type 'auto *' has incompatible initial… in g() local
94 for (auto a : A()) in g() local
103 for (auto a : f()) // expected-error {{cannot use type 'void' as a range}} in g() local
107 for (auto a : incomplete) // expected-error {{cannot use incomplete type 'int []' as a range}} in g() local
110 …for (auto &a : also_incomplete) // expected-error {{cannot use incomplete type 'struct Incomplete … in g() local
117 for (auto a : VoidBegin()) // expected-error {{cannot use type 'void' as an iterator}} in g() local
124 …for (auto a : Differ()) // expected-error {{'begin' and 'end' must return the same type (got 'int … in g() local
131 for (static int a : A()) {} // expected-error {{loop variable 'a' may not be declared 'static'}} in g() local
132 …for (register int a : A()) {} // expected-error {{loop variable 'a' may not be declared 'register'… in g() local
133 for (constexpr int a : X::C()) {} // OK per CWG issue #1204. in g() local
135 …for (auto u : X::NoBeginADL()) { // expected-error {{invalid range expression of type 'X::NoBeginA… in g() local
137 …for (auto u : X::NoEndADL()) { // expected-error {{invalid range expression of type 'X::NoEndADL';… in g() local
146 …for (auto u : NoBegin()) { // expected-error {{range type 'NoBegin' has 'end' member but no 'begin… in g() local
148 …for (auto u : NoEnd()) { // expected-error {{range type 'NoEnd' has 'begin' member but no 'end' me… in g() local
155 for (auto u : NoIncr()) { // expected-error {{arithmetic on a pointer to void}}\ in g() local
164 for (auto u : NoNotEq()) { // expected-error {{invalid operands to binary expression}}\ in g() local
175 for (auto u : NoDeref()) { // expected-error {{indirection requires pointer operand}} \ in g() local
197 for (U u : t) { // expected-error {{no viable conversion from 'X::A' to 'int'}} in h() local
199 for (auto u : t) { in h() local
210 …for (auto u : t) { // expected-error {{invalid range expression of type 'X::A *'; no viable 'begin… in i() local
225 …for (auto a : StdBeginEnd()) {} // expected-error {{invalid range expression of type 'StdBeginEnd'… in DR1442() local
243 for (auto u : NS::ADL()) { in j() local
245 …for (auto u : NS::NoADL()) { // expected-error {{invalid range expression of type 'NS::NoADL'; no … in j() local
247 for (auto a : VoidBeginADL()) { // expected-error {{cannot use type 'void' as an iterator}} in j() local