Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:pi

96   int HasMembers::*pi = &HasMembers::i;
97 hm.*pi = 0;
98 int i = phm->*pi;
99 (void)&(hm.*pi);
100 (void)&(phm->*pi);
101 (void)&((&hm)->*pi);
107 (void)(hm->*pi); // expected-error {{left hand operand to ->* must be a pointer to class compatible with the right hand operand, but is 'HasMembers'}}
108 (void)(phm.*pi); // expected-error {{left hand operand to .* must be a class compatible with the right hand operand, but is 'HasMembers *'}}
109 (void)(i.*pi); // expected-error {{left hand operand to .* must be a class compatible with the right hand operand, but is 'int'}}
111 (void)(ptr->*pi); // expected-error {{left hand operand to ->* must be a pointer to class compatible with the right hand operand, but is 'int *'}}