Lines Matching refs:auto
8 // Deduction with 'auto'.
19 auto a = [[A alloc] init];
22 auto a2([[A alloc] init]);
25 __strong id *idp = new auto(obj); function
28 for (auto x : array) { // expected-warning{{'auto' deduced as 'id' in declaration of 'x'}}
33 } @catch (auto e) { // expected-error {{'auto' not allowed in exception declaration}}
60 // warn when initializing an 'auto' variable with an 'id' initializer expression
63 auto x = obj; // expected-warning{{'auto' deduced as 'id' in declaration of 'x'}}
74 auto x = param; // no-warning
75 auto y = obj; // expected-warning{{'auto' deduced as 'id' in declaration of 'y'}}
76 …auto z = [arr objectAtIndex:N]; // expected-warning{{'auto' deduced as 'id' in declaration of 'z'}}
101 __autoreleasing auto o3 = o;