Lines Matching full:allocation

3 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.13.0 -fexceptions -faligned-allocation -faligned-a…
12 // RUN: %clang_cc1 -triple s390x-none-zos -fexceptions -faligned-allocation -faligned-alloc-unavail…
61 // No error here since it is not calling a replaceable allocation function. in testOveraligned()
68 // expected-error-re@-16 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
69 // expected-note@-17 {{if you supply your own aligned allocation functions}}
71 // expected-note@-19 {{if you supply your own aligned allocation functions}}
73 // expected-error-re@-20 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
74 // expected-note@-21 {{if you supply your own aligned allocation functions}}
76 // expected-note@-23 {{if you supply your own aligned allocation functions}}
79 // expected-note@-25 {{if you supply your own aligned allocation functions}}
81 // expected-error-re@-26 {{aligned allocation function of type 'void *(std::size_t, std::align_val_…
82 // expected-note@-27 {{if you supply your own aligned allocation functions}}
84 // expected-note@-29 {{if you supply your own aligned allocation functions}}
86 // expected-error-re@-29 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
87 // expected-note@-30 {{if you supply your own aligned allocation functions}}
89 // expected-note@-32 {{if you supply your own aligned allocation functions}}
91 // expected-error-re@-33 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
92 // expected-note@-34 {{if you supply your own aligned allocation functions}}
94 // expected-note@-36 {{if you supply your own aligned allocation functions}}
97 // expected-note@-38 {{if you supply your own aligned allocation functions}}
99 // expected-error-re@-39 {{aligned allocation function of type 'void *(std::size_t, std::align_val_…
100 // expected-note@-40 {{if you supply your own aligned allocation functions}}
102 // expected-note@-42 {{if you supply your own aligned allocation functions}}
114 // expected-error@-7 {{aligned allocation function of type 'void *(unsigned long, enum std::align_v…
117 // expected-error@-10 {{aligned allocation function of type 'void *(unsigned long, enum std::align_…
120 // expected-error@-13 {{aligned allocation function of type 'void *(unsigned long, enum std::align_…
123 // expected-error@-16 {{aligned allocation function of type 'void *(unsigned long, enum std::align_…
126 // expected-error@-19 {{aligned allocation function of type 'void *(unsigned long, enum std::align_…
130 // expected-note@-23 2 {{if you supply your own aligned allocation functions}}
147 // expected-note@-7 {{if you supply your own aligned allocation functions}}
150 // expected-note@-10 {{if you supply your own aligned allocation functions}}
153 // expected-note@-13 {{if you supply your own aligned allocation functions}}
156 // expected-note@-16 {{if you supply your own aligned allocation functions}}
159 // expected-note@-19 {{if you supply your own aligned allocation functions}}
184 // expected-error-re@-11 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
185 // expected-note@-12 {{if you supply your own aligned allocation functions}}
188 // expected-note@-14 {{if you supply your own aligned allocation functions}}
190 // expected-error-re@-15 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
191 // expected-note@-16 {{if you supply your own aligned allocation functions}}
194 // expected-note@-18 {{if you supply your own aligned allocation functions}}
196 // expected-error-re@-19 {{aligned allocation function of type 'void *(unsigned long, enum std::ali…
197 // expected-note@-20 {{if you supply your own aligned allocation functions}}
200 // expected-note@-22 {{if you supply your own aligned allocation functions}}
203 // No errors if user-defined aligned allocation functions are available.