• Home
  • Raw
  • Download

Lines Matching full:foo

15 @interface Foo(Source)  interface in Source
19 void test(Foo *foo, LeftFoo *leftFoo) {
20 [foo source];
21 [foo bottom];
22 [foo left];
23 [foo right1];
24 [foo right2];
25 [foo top];
26 [foo top2];
27 [foo top3];
33 // Load another module that also adds categories to Foo, verify that
37 void test_other(Foo *foo) {
38 [foo other];
42 void test_hidden_all_errors(Foo *foo) {
43 …[foo left_sub]; // expected-warning{{instance method '-left_sub' not found (return type defaults t…
44foo.right_sub_prop = foo; // expected-error{{property 'right_sub_prop' not found on object of type…
45 …int i = foo->right_sub_ivar; // expected-error{{'Foo' does not have a member named 'right_sub_ivar…
46 …id<P1> p1 = foo; // expected-warning{{initializing 'id<P1>' with an expression of incompatible typ…
47 …id<P2> p2 = foo; // expected-warning{{initializing 'id<P2>' with an expression of incompatible typ…
53 p3p = foo.p3_prop; // expected-error{{property 'p3_prop' not found on object of type 'Foo *'}}
55 p4p = foo.p4_prop; // expected-error{{property 'p4_prop' not found on object of type 'Foo *'}}
60 void test_hidden_right_errors(Foo *foo) {
62 [foo left_sub]; // okay
63 id<P1> p1 = foo;
67 p3p = foo.p3_prop;
69foo.right_sub_prop = foo; // expected-error{{property 'right_sub_prop' not found on object of type…
70 …int i = foo->right_sub_ivar; // expected-error{{'Foo' does not have a member named 'right_sub_ivar…
71 …id<P2> p2 = foo; // expected-warning{{initializing 'id<P2>' with an expression of incompatible typ…
75 …p4p = foo.p4_prop; // expected-error{{property 'p4_prop' not found on object of type 'Foo *'; did …
81 void test_hidden_okay(Foo *foo) {
82 [foo left_sub];
83 foo.right_sub_prop = foo;
84 int i = foo->right_sub_ivar;
85 id<P1> p1 = foo;
86 id<P2> p2 = foo;
92 p3p = foo.p3_prop;
94 p4p = foo.p4_prop;