Lines Matching defs:x1
19 struct X1 { virtual void f(); } x1;
23 memset(&x1, 0, sizeof x1); // \
30 memmove(&x1, 0, sizeof x1); // \
31 // expected-warning{{destination for this 'memmove' call is a pointer to dynamic class 'struct X1'; vtable pointer will be overwritten}} \
33 memmove(0, &x1, sizeof x1); // \
34 // expected-warning{{source of this 'memmove' call is a pointer to dynamic class 'struct X1'; vtable pointer will be moved}} \
36 memcpy(&x1, 0, sizeof x1); // \
37 // expected-warning{{destination for this 'memcpy' call is a pointer to dynamic class 'struct X1'; vtable pointer will be overwritten}} \
39 memcpy(0, &x1, sizeof x1); // \
40 // expected-warning{{source of this 'memcpy' call is a pointer to dynamic class 'struct X1'; vtable pointer will be copied}} \
42 memcmp(&x1, 0, sizeof x1); // \
43 // expected-warning{{first operand of this 'memcmp' call is a pointer to dynamic class 'struct X1'; vtable pointer will be compared}} \
45 memcmp(0, &x1, sizeof x1); // \
46 // expected-warning{{second operand of this 'memcmp' call is a pointer to dynamic class 'struct X1'; vtable pointer will be compared}} \
49 __builtin_memset(&x1, 0, sizeof x1); // \
56 __builtin_memmove(&x1, 0, sizeof x1); // \
59 __builtin_memmove(0, &x1, sizeof x1); // \
62 __builtin_memcpy(&x1, 0, sizeof x1); // \
65 __builtin_memcpy(0, &x1, sizeof x1); // \
69 __builtin___memset_chk(&x1, 0, sizeof x1, sizeof x1); // \
76 __builtin___memmove_chk(&x1, 0, sizeof x1, sizeof x1); // \
79 __builtin___memmove_chk(0, &x1, sizeof x1, sizeof x1); // \
82 __builtin___memcpy_chk(&x1, 0, sizeof x1, sizeof x1); // \
85 __builtin___memcpy_chk(0, &x1, sizeof x1, sizeof x1); // \
106 (void)sizeof memset(&x1, 0, sizeof x1);
109 if (false) memset(&x1, 0, sizeof x1);
115 N::memset(&x1, 0, sizeof x1);