Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:bp1

52                       B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) {
55 (void)static_cast<A_ptr_1>(bp1);
72 (void)static_cast<A_ptr>(bp1); // expected-error{{is not allowed}}
77 (void)static_cast<A_ptr_2>(bp1); // expected-error{{is not allowed}}
103 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) {
106 (void)dynamic_cast<A_ptr_1>(bp1);
115 (void)dynamic_cast<A_ptr>(bp1); // expected-error{{casts away qualifiers}}
120 (void)dynamic_cast<A_ptr_2>(bp1); // expected-error{{casts away qualifiers}}
133 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2,
139 (void)reinterpret_cast<A_ptr>(bp1);
147 (void)reinterpret_cast<A_ptr_1>(bp1);
159 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2,
165 (void)(A_ptr)(bp1);
173 (void)(A_ptr_1)(bp1);
183 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) {
189 A_ptr_1 ap_A1 = bp1;
195 A_ptr ap_B = bp1; // expected-error{{cannot initialize a variable of type}}