Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:memset

3 extern "C" void *memset(void *, int, unsigned);
10 // is the "real" memset.
11 void *memset(void *, int, unsigned);
33 memset(&x1, 0, sizeof x1); // \
34 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
36 memset(x1arr, 0, sizeof x1arr); // \
37 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
39 memset((void*)x1arr, 0, sizeof x1arr);
40 memset(&x2, 0, sizeof x2); // \
41 // expected-warning {{destination for this 'memset' call is a pointer to dynamic class}} \
103 // expected-warning@+2 {{destination for this 'memset' call is a pointer to class containing a dynamic class 'X1'}}
105 memset(&contains_dynamic, 0, sizeof(contains_dynamic));
106 // expected-warning@+2 {{destination for this 'memset' call is a pointer to class containing a dynamic class 'X1'}}
108 memset(&deep_contains_dynamic, 0, sizeof(deep_contains_dynamic));
109 // expected-warning@+2 {{destination for this 'memset' call is a pointer to class containing a dynamic class 'X1'}}
111 memset(&contains_array_dynamic, 0, sizeof(contains_array_dynamic));
119 memset(&i, 0, sizeof i);
120 memset(&iptr, 0, sizeof iptr);
121 memset(&y, 0, sizeof y);
122 memset(&c, 0, sizeof c);
123 memset(void_ptr, 0, 42);
124 memset(&s1, 0, sizeof s1);
125 memset(&s2, 0, sizeof s2);
126 memset(&s3, 0, sizeof s3);
127 memset(&c1, 0, sizeof c1);
129 memset(&contains_pointer_dynamic, 0, sizeof(contains_pointer_dynamic));
132 (void)sizeof memset(&x1, 0, sizeof x1);
135 if (false) memset(&x1, 0, sizeof x1);
139 void *memset(void *, int, unsigned);
141 N::memset(&x1, 0, sizeof x1);