Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:casts

80   (void)static_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}}
81 (void)static_cast<B_ptr>(ap2); // expected-error{{casts away qualifiers}}
82 (void)static_cast<B_ptr_1>(ap); // expected-error{{casts away qualifiers}}
83 (void)static_cast<B_ptr_1>(ap2); // expected-error{{casts away qualifiers}}
84 (void)static_cast<B_ptr_2>(ap); // expected-error{{casts away qualifiers}}
85 (void)static_cast<B_ptr_2>(ap1); // expected-error{{casts away qualifiers}}
94 (void)static_cast<A_ptr>(vp1); // expected-error{{casts away qualifiers}}
95 (void)static_cast<A_ptr>(vp2); // expected-error{{casts away qualifiers}}
96 (void)static_cast<A_ptr_1>(vp); // expected-error{{casts away qualifiers}}
97 (void)static_cast<A_ptr_1>(vp2); // expected-error{{casts away qualifiers}}
98 (void)static_cast<A_ptr_2>(vp); // expected-error{{casts away qualifiers}}
99 (void)static_cast<A_ptr_2>(vp1); // expected-error{{casts away qualifiers}}
115 (void)dynamic_cast<A_ptr>(bp1); // expected-error{{casts away qualifiers}}
116 (void)dynamic_cast<A_ptr>(bp2); // expected-error{{casts away qualifiers}}
117 (void)dynamic_cast<A_ptr_1>(bp); // expected-error{{casts away qualifiers}}
118 (void)dynamic_cast<A_ptr_1>(bp2); // expected-error{{casts away qualifiers}}
119 (void)dynamic_cast<A_ptr_2>(bp); // expected-error{{casts away qualifiers}}
120 (void)dynamic_cast<A_ptr_2>(bp1); // expected-error{{casts away qualifiers}}
123 (void)dynamic_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}}
124 (void)dynamic_cast<B_ptr>(ap2); // expected-error{{casts away qualifiers}}
125 (void)dynamic_cast<B_ptr_1>(ap); // expected-error{{casts away qualifiers}}
126 (void)dynamic_cast<B_ptr_1>(ap2); // expected-error{{casts away qualifiers}}
127 (void)dynamic_cast<B_ptr_2>(ap); // expected-error{{casts away qualifiers}}
128 (void)dynamic_cast<B_ptr_2>(ap1); // expected-error{{casts away qualifiers}}
154 (void)reinterpret_cast<A_ptr_2>(cvp1); // expected-error{{casts away qualifiers}}
161 // C-style casts are the wild west of casts.