Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:buf

39 void copy5CharsInto(char *buf) // expected-note{{candidate}}
40 __attribute__((enable_if(__builtin_object_size(buf, 0) != -1 &&
41 __builtin_object_size(buf, 0) > 5,
46 void copy5CharsIntoStrict(char *buf) // expected-note{{candidate}}
47 __attribute__((enable_if(__builtin_object_size(buf, 1) != -1 &&
48 __builtin_object_size(buf, 1) > 5,
53 char buf[6];
59 char buf[5];
64 char buf[6];
65 copy5CharsInto(buf);
68 copy5CharsIntoStrict(large.buf);
72 char buf[6] = {};
73 copy5CharsInto(buf);
76 copy5CharsIntoStrict(large.buf);
81 char buf[6] = {};
82 for (unsigned I = getI(); I != sizeof(buf); ++I)
83 buf[I] = I;
84 copy5CharsInto(buf);
87 for (unsigned I = getI(); I != sizeof(buf); ++I)
88 large.buf[I] = I;
89 copy5CharsIntoStrict(large.buf);
93 char buf[5];
94 copy5CharsInto(buf); // expected-error{{no matching function for call}}
97 copy5CharsIntoStrict(small.buf); // expected-error{{no matching function for call}}