Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:ap1

26                      A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2,
38 (void)const_cast<A_ptr>(ap1); // expected-error{{is not allowed}}
43 (void)const_cast<A_ptr_2>(ap1); // expected-error{{is not allowed}}
51 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2,
60 (void)static_cast<B_ptr_1>(ap1);
65 (void)static_cast<void_ptr_1>(ap1);
80 (void)static_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}}
85 (void)static_cast<B_ptr_2>(ap1); // expected-error{{casts away qualifiers}}
88 (void)static_cast<void_ptr>(ap1); // expected-error{{is not allowed}}
93 (void)static_cast<void_ptr_2>(ap1); // expected-error{{is not allowed}}
102 void test_dynamic_cast(A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2,
111 (void)dynamic_cast<B_ptr_1>(ap1);
123 (void)dynamic_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}}
128 (void)dynamic_cast<B_ptr_2>(ap1); // expected-error{{casts away qualifiers}}
132 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2,
136 (void)reinterpret_cast<A_ptr>(ap1);
158 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2,
162 (void)(A_ptr)(ap1);
182 A_ptr ap, A_ptr_1 ap1, A_ptr_2 ap2,
186 void_ptr_1 vp_1A = ap1;
193 void_ptr vpB = ap1; // expected-error{{cannot initialize a variable of type}}