Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:const_cast

29   // Cannot use const_cast to cast between address spaces, add an
31 (void)const_cast<int_ptr>(ip1); // expected-error{{is not allowed}}
32 (void)const_cast<int_ptr>(ip2); // expected-error{{is not allowed}}
33 (void)const_cast<int_ptr_1>(ip); // expected-error{{is not allowed}}
34 (void)const_cast<int_ptr_1>(ip2); // expected-error{{is not allowed}}
35 (void)const_cast<int_ptr_2>(ip); // expected-error{{is not allowed}}
36 (void)const_cast<int_ptr_2>(ip1); // expected-error{{is not allowed}}
38 (void)const_cast<A_ptr>(ap1); // expected-error{{is not allowed}}
39 (void)const_cast<A_ptr>(ap2); // expected-error{{is not allowed}}
40 (void)const_cast<A_ptr_1>(ap); // expected-error{{is not allowed}}
41 (void)const_cast<A_ptr_1>(ap2); // expected-error{{is not allowed}}
42 (void)const_cast<A_ptr_2>(ap); // expected-error{{is not allowed}}
43 (void)const_cast<A_ptr_2>(ap1); // expected-error{{is not allowed}}
46 (void)const_cast<int_ptr>(cip);
47 (void)const_cast<int_ptr_1>(cip1);