Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:x1

24 struct X1 { virtual void f(); } x1;
28 memset(&x1, 0, sizeof x1); // \
35 memmove(&x1, 0, sizeof x1); // \
36 // expected-warning{{destination for this 'memmove' call is a pointer to dynamic class 'struct X1'; vtable pointer will be overwritten}} \
38 memmove(0, &x1, sizeof x1); // \
39 // expected-warning{{source of this 'memmove' call is a pointer to dynamic class 'struct X1'; vtable pointer will be moved}} \
41 memcpy(&x1, 0, sizeof x1); // \
42 // expected-warning{{destination for this 'memcpy' call is a pointer to dynamic class 'struct X1'; vtable pointer will be overwritten}} \
44 memcpy(0, &x1, sizeof x1); // \
45 // expected-warning{{source of this 'memcpy' call is a pointer to dynamic class 'struct X1'; vtable pointer will be copied}} \
47 memcmp(&x1, 0, sizeof x1); // \
48 // expected-warning{{first operand of this 'memcmp' call is a pointer to dynamic class 'struct X1'; vtable pointer will be compared}} \
50 memcmp(0, &x1, sizeof x1); // \
51 // expected-warning{{second operand of this 'memcmp' call is a pointer to dynamic class 'struct X1'; vtable pointer will be compared}} \
54 __builtin_memset(&x1, 0, sizeof x1); // \
61 __builtin_memmove(&x1, 0, sizeof x1); // \
64 __builtin_memmove(0, &x1, sizeof x1); // \
67 __builtin_memcpy(&x1, 0, sizeof x1); // \
70 __builtin_memcpy(0, &x1, sizeof x1); // \
74 __builtin___memset_chk(&x1, 0, sizeof x1, sizeof x1); // \
81 __builtin___memmove_chk(&x1, 0, sizeof x1, sizeof x1); // \
84 __builtin___memmove_chk(0, &x1, sizeof x1, sizeof x1); // \
87 __builtin___memcpy_chk(&x1, 0, sizeof x1, sizeof x1); // \
90 __builtin___memcpy_chk(0, &x1, sizeof x1, sizeof x1); // \
111 (void)sizeof memset(&x1, 0, sizeof x1);
114 if (false) memset(&x1, 0, sizeof x1);
120 N::memset(&x1, 0, sizeof x1);