Home
last modified time | relevance | path

Searched refs:obj_c (Results 1 – 4 of 4) sorted by relevance

/external/clang/test/SemaObjC/
Dcomptypes-1.m23 MyClass *obj_c = nil;
30 obj = obj_c; /* Ok */
36 obj_c = obj; /* Ok */
37obj_c = obj_cp; // // expected-warning {{incompatible pointer types assigning to 'MyClass *' from …
38obj_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…
53 …obj_cp = obj_c; // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' fr…
60 if (obj == obj_c) foo() ; /* Ok */
61 if (obj_c == obj) foo() ; /* Ok */
69 …if (obj_p == obj_c) foo() ; // expected-warning {{comparison of distinct pointer types ('id<MyProt…
[all …]
Dcomptypes-2.m18 MyClass *obj_c = nil;
24 obj = (id)obj_c;
26 obj_c = (MyClass *)obj;
27 obj_c = (MyClass *)obj_p;
28 obj_c = (MyClass *)obj_C;
30 obj_p = (id<MyProtocol>)obj_c;
34 obj_C = (Class)obj_c;
Dcomptypes-7.m19 MyClass *obj_c = nil;
33obj_c = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'MyClass …
34obj_c = j; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'int *'}}
41 …i = obj_c; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
46 …j = obj_c; // expected-warning {{incompatible pointer types assigning to 'int *' from 'MyClass *'}}
54 …if (obj_c == i) foo() ; // expected-warning {{comparison between pointer and integer ('MyClass *' …
55 …if (i == obj_c) foo() ; // expected-warning {{comparison between pointer and integer ('int' and 'M…
56 …if (obj_c == j) foo() ; // expected-warning {{comparison of distinct pointer types ('MyClass *' an…
57 …if (j == obj_c) foo() ; // expected-warning {{comparison of distinct pointer types ('int *' and 'M…
/external/harfbuzz_ng/src/
Dtest-repacker.cc531 unsigned obj_c = c->pop_pack (false); in populate_serializer_with_priority_overflow() local
539 add_offset (obj_c, c); in populate_serializer_with_priority_overflow()
555 unsigned obj_c = c->pop_pack (false); in populate_serializer_with_priority_overflow_expected() local
565 add_offset (obj_c, c); in populate_serializer_with_priority_overflow_expected()
630 unsigned obj_c = c->pop_pack (false); in populate_serializer_with_isolation_overflow_complex() local
641 add_offset (obj_c, c); in populate_serializer_with_isolation_overflow_complex()
687 unsigned obj_c = c->pop_pack (false); in populate_serializer_with_isolation_overflow_complex_expected() local
690 add_offset (obj_c, c); in populate_serializer_with_isolation_overflow_complex_expected()
739 unsigned obj_c = c->pop_pack (); in populate_serializer_with_isolation_overflow_spaces() local
744 add_wide_offset (obj_c, c); in populate_serializer_with_isolation_overflow_spaces()
[all …]