Lines Matching full:cast
12 …char *y = (char *)ptr; // expected-warning {{cast from 'const char *' to 'char *' drops const qual… in foo()
13 …char **y1 = (char **)ptrptr; // expected-warning {{cast from 'const char *const *' to 'char **' dr… in foo()
14 …const char **y2 = (const char **)ptrptr; // expected-warning {{cast from 'const char *const *' to … in foo()
15 …char *const *y3 = (char *const *)ptrptr; // expected-warning {{cast from 'const char *const' to 'c… in foo()
16 …const char **y4 = (const char **)ptrcptr; // expected-warning {{cast from 'char *const *' to 'cons… in foo()
19 …char *z1 = (char *)(const void *)ptr; // expected-warning {{cast from 'const void *' to 'char *' d… in foo()
22 …char *vol2 = (char *)vol; // expected-warning {{cast from 'volatile char *' to 'char *' drops vola… in foo()
24 …char *volc2 = (char *)volc; // expected-warning {{cast from 'const volatile char *' to 'char *' dr… in foo()
27 …const int **intptrptrc = (const int **)intptrptr; // expected-warning {{cast from 'int **' to 'con… in foo()
28 …volatile int **intptrptrv = (volatile int **)intptrptr; // expected-warning {{cast from 'int **' t… in foo()
34 …char **charptrptr = (char **)charptrptrc; // expected-warning {{cast from 'const char *' to 'char … in foo()
37 …char *charptr = (char *)constcharptr; // expected-warning {{cast from 'const char *' to 'char *' d… in foo()
38 …const char *constcharptr2 = (char *)constcharptr; // expected-warning {{cast from 'const char *' t… in foo()
47 …char *fy = CharPtr(ptr); // expected-warning {{cast from 'const char *' to 'char *' drops const qu… in foo()
48 …char **fy1 = CharPtrPtr(ptrptr); // expected-warning {{cast from 'const char *const *' to 'char **… in foo()
49 …const char **fy2 = ConstCharPtrPtr(ptrptr); // expected-warning {{cast from 'const char *const *' … in foo()
50 …char *const *fy3 = CharPtrConstPtr(ptrptr); // expected-warning {{cast from 'const char *const' to… in foo()
51 …const char **fy4 = ConstCharPtrPtr(ptrcptr); // expected-warning {{cast from 'char *const *' to 'c… in foo()
55 …char *fz1 = CharPtr(ConstVoidPtr(ptr)); // expected-warning {{cast from 'const void *' to 'char *'… in foo()
57 …char *fvol2 = CharPtr(vol); // expected-warning {{cast from 'volatile char *' to 'char *' drops vo… in foo()
58 …char *fvolc2 = CharPtr(volc); // expected-warning {{cast from 'const volatile char *' to 'char *' … in foo()
62 …const int **fintptrptrc = ConstIntPtrPtr(intptrptr); // expected-warning {{cast from 'int **' to '… in foo()
63 …volatile int **fintptrptrv = VolitileIntPtrPtr(intptrptr); // expected-warning {{cast from 'int **… in foo()
68 …char **fcharptrptr = CharPtrPtr(charptrptrc); // expected-warning {{cast from 'const char *' to 'c… in foo()
70 …char *fcharptr = CharPtr(constcharptr); // expected-warning {{cast from 'const char *' to 'char *'… in foo()
83 …*(int *)(&S.a) = 0; // expected-warning {{cast from 'const int *' to 'int *' drops const qualifier… in bar_0()
84 …*(int *)(&S.b) = 0; // expected-warning {{cast from 'const int *' to 'int *' drops const qualifier… in bar_0()
88 …*(IntPtr(&S.a)) = 0; // expected-warning {{cast from 'const int *' to 'int *' drops const qualifie… in bar_0()
89 …*(IntPtr(&S.b)) = 0; // expected-warning {{cast from 'const int *' to 'int *' drops const qualifie… in bar_0()
102 …*(int *)(&S.a) = 0; // expected-warning {{cast from 'const int *' to 'int *' drops const qualifier… in bar_1()
107 …*(IntPtr(&S.a)) = 0; // expected-warning {{cast from 'const int *' to 'int *' drops const qualifie… in bar_1()