@@ -22,61 +22,61 @@ template <typename T> void *operator new(std::type_identity<TemplateTestType<T>>
2222template <typename T, typename U> void *operator new (std::type_identity<T>, size_t , TemplateTestType<U>&); // #7
2323template <template <typename > class T > void *operator new (std::type_identity<T<int >>, size_t ); // #8
2424#if defined(NO_TAA)
25- // expected-error@#1 {{type aware allocation operators are disabled}}
26- // expected-error@#2 {{type aware allocation operators are disabled}}
27- // expected-error@#3 {{type aware allocation operators are disabled}}
28- // expected-error@#4 {{type aware allocation operators are disabled}}
29- // expected-error@#5 {{type aware allocation operators are disabled}}
30- // expected-error@#6 {{type aware allocation operators are disabled}}
31- // expected-error@#7 {{type aware allocation operators are disabled}}
32- // expected-error@#8 {{type aware allocation operators are disabled}}
25+ // expected-error@#1 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
26+ // expected-error@#2 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
27+ // expected-error@#3 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
28+ // expected-error@#4 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
29+ // expected-error@#5 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
30+ // expected-error@#6 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
31+ // expected-error@#7 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
32+ // expected-error@#8 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
3333#endif
3434
3535void operator delete (std::type_identity<int >, void *); // #9
3636void operator delete (std::type_identity<int >, void *, std::align_val_t ); // #10
3737void operator delete (std::type_identity<int >, void *, size_t ); // #11
3838void operator delete (std::type_identity<int >, void *, size_t , std::align_val_t ); // #12
3939#if defined(NO_TAA)
40- // expected-error@#9 {{type aware allocation operators are disabled}}
41- // expected-error@#10 {{type aware allocation operators are disabled}}
42- // expected-error@#11 {{type aware allocation operators are disabled}}
43- // expected-error@#12 {{type aware allocation operators are disabled}}
40+ // expected-error@#9 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
41+ // expected-error@#10 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
42+ // expected-error@#11 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
43+ // expected-error@#12 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
4444#endif
4545
4646template <typename T> void operator delete (std::type_identity<T>, void *); // #13
4747template <typename T> void operator delete (std::type_identity<T>, void *, std::align_val_t ); // #14
4848template <typename T> void operator delete (std::type_identity<T>, void *, size_t ); // #15
4949template <typename T> void operator delete (std::type_identity<T>, void *, size_t , std::align_val_t ); // #16
5050#if defined(NO_TAA)
51- // expected-error@#13 {{type aware allocation operators are disabled}}
52- // expected-error@#14 {{type aware allocation operators are disabled}}
53- // expected-error@#15 {{type aware allocation operators are disabled}}
54- // expected-error@#16 {{type aware allocation operators are disabled}}
51+ // expected-error@#13 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
52+ // expected-error@#14 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
53+ // expected-error@#15 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
54+ // expected-error@#16 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
5555#endif
5656
5757template <typename T> void operator delete (std::type_identity<TemplateTestType<T>>, void *); // #17
5858template <template <typename > class T > void operator delete (std::type_identity<T<int >>, void *); // #18
5959#if defined(NO_TAA)
60- // expected-error@#17 {{type aware allocation operators are disabled}}
61- // expected-error@#18 {{type aware allocation operators are disabled}}
60+ // expected-error@#17 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
61+ // expected-error@#18 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
6262#endif
6363
6464typedef std::type_identity<float > TypeIdentityAlias1;
6565void *operator new (TypeIdentityAlias1, size_t ); // #19
6666#if defined(NO_TAA)
67- // expected-error@#19 {{type aware allocation operators are disabled}}
67+ // expected-error@#19 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
6868#endif
6969
7070using TypeIdentityAlias2 = std::type_identity<double >;
7171void *operator new (TypeIdentityAlias2, size_t ); // #20
7272#if defined(NO_TAA)
73- // expected-error@#20 {{type aware allocation operators are disabled}}
73+ // expected-error@#20 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
7474#endif
7575
7676template <typename T> using TypeIdentityAlias3 = std::type_identity<T>;
7777template <typename T> void *operator new (TypeIdentityAlias3<T>, size_t ); // #21
7878#if defined(NO_TAA)
79- // expected-error@#21 {{type aware allocation operators are disabled}}
79+ // expected-error@#21 {{type aware allocation operators are disabled, enable with '-fexperimental-cxx-type-aware-allocators' }}
8080#endif
8181
8282
0 commit comments