Home
last modified time | relevance | path

Searched refs:assigning (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/external/clang/test/SemaObjC/
Darc-unsafe-assigns.m24 self.unsafe_prop = [Foo new]; // expected-warning {{assigning retained object to unsafe property}}
25 …self->unsafe_ivar = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretaine…
26 …self.unsafe_prop = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe p…
27 …self->unsafe_ivar = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_…
30 unsafe_var = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretained}}
31 …unsafe_var = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_unretai…
36 f.unsafe_prop = [Foo new]; // expected-warning {{assigning retained object to unsafe property}}
39 unsafe_var = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretained}}
40 …unsafe_var = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_unretai…
Dcomptypes-7.m27 …obj = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id' from '…
28 obj = j; // expected-warning {{incompatible pointer types assigning to 'id' from 'int *'}}
30 …obj_p = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id<MyPro…
31 …obj_p = j; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'in…
33 …obj_c = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'MyClass …
34 …obj_c = j; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'int *'}}
36 …obj_C = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'Class' f…
37 obj_C = j; // expected-warning {{incompatible pointer types assigning to 'Class' from 'int *'}}
39 …i = obj; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
40 …i = obj_p; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
[all …]
Dwarn-incompatible-builtin-types.m14 c = f; // expected-warning {{incompatible pointer types assigning to 'Class' from 'Foo *'}}
24 s1 = i; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'id'}}
25 i = s1; // expected-warning {{incompatible pointer types assigning to 'id' from 'SEL'}}
29 s1 = c; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Class'}}
31 c = s1; // expected-warning {{incompatible pointer types assigning to 'Class' from 'SEL'}}
35 f = c; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'Class'}}
37 f = s1; // expected-warning {{incompatible pointer types assigning to 'Foo *' from 'SEL'}}
41 s1 = f; // expected-warning {{incompatible pointer types assigning to 'SEL' from 'Foo *'}}
Dcomptypes-3.m29 …obj_a = obj_b; // expected-warning {{assigning to 'id<MyProtocolA>' from incompatible type 'id<My…
33 …obj_b = obj_a; // expected-warning {{assigning to 'id<MyProtocolB>' from incompatible type 'id<My…
35 …obj_b = obj_ac; // expected-warning {{assigning to 'id<MyProtocolB>' from incompatible type 'id<My…
37 …obj_ab = obj_a; // expected-warning {{assigning to 'id<MyProtocolAB>' from incompatible type 'id<…
38 …obj_ab = obj_b; // expected-warning {{assigning to 'id<MyProtocolAB>' from incompatible type 'id<…
39 …obj_ab = obj_ac; // expected-warning {{assigning to 'id<MyProtocolAB>' from incompatible type 'id<…
41 …obj_ac = obj_a; // expected-warning {{assigning to 'id<MyProtocolAC>' from incompatible type 'id<…
42 …obj_ac = obj_b; // expected-warning {{assigning to 'id<MyProtocolAC>' from incompatible type 'id<…
43 …obj_ac = obj_ab; // expected-warning {{assigning to 'id<MyProtocolAC>' from incompatible type 'id<…
Dcheck-objcbridge-related-attribute-lookup.m24 …// expected-warning {{incompatible pointer types assigning to 'NSColor *' from 'CGColorRef' (aka '…
26 …// expected-warning {{incompatible pointer types assigning to 'CGColorRef' (aka 'struct CGColor *'…
30 …// expected-warning {{incompatible pointer types assigning to 'NSColor *' from 'CGColorRef1' (aka …
32 …// expected-warning {{incompatible pointer types assigning to 'CGColorRef1' (aka 'struct CGColor1 …
37 …// expected-warning {{incompatible pointer types assigning to 'NSColor *' from 'CGColorRef2' (aka …
39 …// expected-warning {{incompatible pointer types assigning to 'CGColorRef2' (aka 'struct CGColor2 …
Dcomptypes-1.m37 …obj_c = obj_cp; // // expected-warning {{incompatible pointer types assigning to 'MyClass *' from …
38 …obj_c = obj_C; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'Cl…
45 …obj_p = obj_c; // expected-warning {{assigning to 'id<MyProtocol>' from incompatible type 'MyClas…
47 …obj_p = obj_C; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' fro…
53 …obj_cp = obj_c; // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' fr…
55 …obj_cp = obj_C; // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' fr…
Dobjc-container-subscripting-3.m17 …array[2] = i; // expected-error {{cannot assign to this array because assigning method's 2nd p…
22 … // expected-warning {{incompatible integer to pointer conversion assigning to 'id' from 'int'}}
Did.m12 S = T; // expected-warning {{incompatible pointer types assigning to 'id<Foo>' from 'Class'}}
13 T = S; // expected-warning {{incompatible pointer types assigning to 'Class' from 'id<Foo>'}}
Dnullability.m167 …ip = [InitializableClass returnMe]; // expected-warning{{incompatible pointer types assigning to '…
168 …ss returnInstanceOfMe]; // expected-warning{{incompatible pointer types assigning to 'int *' from …
169 …ip = [object returnMe]; // expected-warning{{incompatible pointer types assigning to 'int *' from …
171 …ip = [ic returnMe2]; // expected-warning{{incompatible pointer types assigning to 'int *' from 'In…
172 …s returnInstanceOfMe2]; // expected-warning{{incompatible pointer types assigning to 'int *' from …
188 …r.resettable1 = ip; // expected-warning{{incompatible pointer types assigning to 'NSResettable * _…
Darc.m116 …a = &x; // expected-error {{assigning '__strong id *' to '__autoreleasing id *' changes retain/rel…
594 __weak id x = [Test30 new]; // expected-warning {{assigning retained object to weak variable}}
595 …id __unsafe_unretained u = [Test30 new]; // expected-warning {{assigning retained object to unsafe…
597 x = [Test30 new]; // expected-warning {{assigning retained object to weak variable}}
598 u = [Test30 new]; // expected-warning {{assigning retained object to unsafe_unretained variable}}
742 …picker1 = [[Radar11814185 alloc] init]; // expected-warning {{assigning retained object to weak va…
743 …self.picker1 = [[Radar11814185 alloc] init]; // expected-warning {{assigning retained object to we…
755 …__weak id y = @{ key : value }; // expected-warning {{assigning dictionary literal to a weak varia…
756 …__weak id z = @[ value ]; // expected-warning {{assigning array literal to a weak variable; object…
757 …__weak id b = ^() {}; // expected-warning {{assigning block literal to a weak variable; object wil…
[all …]
Dblocks.m95 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
110 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
117 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
124 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum …
Dobjcbridge-related-attribute.m29 textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning}}
39 newColor = textField.backgroundColor; // expected-warning {{incompatible pointer types assigning}}
Darc-objcbridge-related-attribute.m29 …textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning t…
39 newColor = textField.backgroundColor; // expected-warning {{incompatible pointer types assigning}}
Dcomptypes-4.m15 …obj_p = obj_cp; // expected-warning {{incompatible pointer types assigning to 'MyClass<MyProtocol>…
/external/clang/test/SemaObjCXX/
Dnullability-pragmas.mm35 …ptr = f13(); // expected-error{{assigning to 'float *' from incompatible type 'int_ptr _Nonnull' (…
36 ptr = f14(); // expected-error{{assigning to 'float *' from incompatible type 'A * _Nonnull'}}
37 …ptr = [a method1:a]; // expected-error{{assigning to 'float *' from incompatible type 'A * _Nonnul…
38 ptr = a.aProp; // expected-error{{assigning to 'float *' from incompatible type 'A * _Nonnull'}}
39 …ptr = global_int_ptr; // expected-error{{assigning to 'float *' from incompatible type 'int * _Non…
40 …ptr = f15(); // expected-error{{assigning to 'float *' from incompatible type 'int * _Null_unspeci…
41 …ptr = f16(); // expected-error{{assigning to 'float *' from incompatible type 'A * _Null_unspecifi…
42 …ptr = [a method2]; // expected-error{{assigning to 'float *' from incompatible type 'A * _Null_uns…
Dinstantiate-expr.mm21 get_an_A(N)->ivar = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
22 …get_an_A(N).prop = value2; // expected-error{{assigning to 'int' from incompatible type 'double *'…
36 ptr->ivar = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
37 ptr.prop = value2; // expected-error{{assigning to 'int' from incompatible type 'double *'}}
63 b.foo = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
71 ptr.foo = value; // expected-error{{assigning to 'int' from incompatible type 'int *'}}
Darc-type-conversion.mm127 …uip = sip; // expected-error{{assigning to '__unsafe_unretained id *' from incompatible type '__st…
128 …uip = wip; // expected-error{{assigning to '__unsafe_unretained id *' from incompatible type '__we…
129 …uip = aip; // expected-error{{assigning to '__unsafe_unretained id *' from incompatible type '__au…
132 …cuip = wip; // expected-error{{assigning to '__unsafe_unretained id const *' from incompatible typ…
189 sip = vp; // expected-error{{assigning to '__strong id *' from incompatible type 'void *'}}
190 wip = vp; // expected-error{{assigning to '__weak id *' from incompatible type 'void *'}}
191 aip = vp; // expected-error{{assigning to '__autoreleasing id *' from incompatible type 'void *'}}
192 …uip = vp; // expected-error{{assigning to '__unsafe_unretained id *' from incompatible type 'void …
Dvoid_to_obj.mm10 obj = vv; // expected-error{{assigning to 'XX *' from incompatible type 'void *'}}
/external/clang/test/SemaOpenCL/
Dto_addr_builtin.cl14 …// expected-warning@-3{{incompatible integer to pointer conversion assigning to '__global int *' f…
22 …// expected-warning@-2{{incompatible integer to pointer conversion assigning to '__global int *' f…
29 …// expected-warning@-2{{incompatible integer to pointer conversion assigning to '__global int *' f…
36 …// expected-warning@-2{{incompatible integer to pointer conversion assigning to '__global int *' f…
43 …// expected-warning@-2{{incompatible integer to pointer conversion assigning to '__local int *' fr…
45 …// expected-error@-4{{assigning '__global int *' to '__local int *' changes address space of point…
Daddress-spaces.cl10 …ip = gip; // expected-error {{assigning '__global int *' to 'int *' changes address space of point…
11 …ip = &li; // expected-error {{assigning '__local int *' to 'int *' changes address space of pointe…
12 …ip = &ci; // expected-error {{assigning '__constant int *' to 'int *' changes address space of poi…
/external/clang/test/Sema/
Dwarn-self-assign-field.mm7 a_ = a_; // expected-warning {{assigning field to itself}}
10 this->a_ = a_; // expected-warning {{assigning field to itself}}
55 a_ = a_; // expected-warning {{assigning instance variable to itself}}
60 i->a_ = i->a_; // expected-warning {{assigning instance variable to itself}}
/external/compiler-rt/test/BlocksRuntime/
Dk-and-r.c25 #error incompatible block pointer types assigning in main()
29 #error incompatible block pointer types assigning in main()
/external/python/cpython2/Lib/compiler/
Dtransformer.py1001 def com_assign(self, node, assigning): argument
1008 return self.com_assign_tuple(node, assigning)
1025 assigning)
1037 return self.com_assign_list(node, assigning)
1039 return self.com_assign_name(node[1], assigning)
1045 def com_assign_tuple(self, node, assigning): argument
1048 assigns.append(self.com_assign(node[i], assigning))
1051 def com_assign_list(self, node, assigning): argument
1058 assigns.append(self.com_assign(node[i], assigning))
1061 def com_assign_name(self, node, assigning): argument
[all …]
/external/clang/test/ARCMT/
Dcheck-with-pch.m14 self->x = [NSObject new]; // expected-error {{assigning retained object}}
/external/clang/test/CodeGenObjC/
D2009-01-26-WriteBarrier-2.m16 // assigning a Block into an struct slot should elicit a write-barrier under GC

12345678910>>...18