Lines Matching full:with
17 template<typename ...T> // expected-warning {{variadic templates are incompatible with C++98}}
20 …plate<typename> class ...T> // expected-warning {{variadic templates are incompatible with C++98}}
23 template<int ...I> // expected-warning {{variadic templates are incompatible with C++98}}
26 alignas(8) int with_alignas; // expected-warning {{'alignas' is incompatible with C++98}}
27 int with_attribute [[ ]]; // expected-warning {{C++11 attribute syntax is incompatible with C++98}}
30 (void)u8"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
31 (void)u"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
32 (void)U"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
33 (void)u'x'; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
34 (void)U'x'; // expected-warning {{unicode literals are incompatible with C++98}} in Literals()
36 (void)u8R"X(str)X"; // expected-warning {{raw string literals are incompatible with C++98}} in Literals()
37 (void)uR"X(str)X"; // expected-warning {{raw string literals are incompatible with C++98}} in Literals()
38 (void)UR"X(str)X"; // expected-warning {{raw string literals are incompatible with C++98}} in Literals()
39 (void)R"X(str)X"; // expected-warning {{raw string literals are incompatible with C++98}} in Literals()
40 (void)LR"X(str)X"; // expected-warning {{raw string literals are incompatible with C++98}} in Literals()
46 …S< ::S<void>> t; // expected-warning {{consecutive right angle brackets are incompatible with C++9…
50 []{}(); // expected-warning {{lambda expressions are incompatible with C++98}} in Lambda()
52 [](){}(); // expected-warning {{lambda expressions are incompatible with C++98}} in Lambda()
63 …t(int i = {}) { // expected-warning {{generalized initializer lists are incompatible with C++98}} \ in InitList()
64 … // expected-warning {{scalar initialized from empty initializer list is incompatible with C++98}}
65 …(void)new int {}; // expected-warning {{generalized initializer lists are incompatible with C++98}…
66 … // expected-warning {{scalar initialized from empty initializer list is incompatible with C++98}}
67 (void)int{}; // expected-warning {{generalized initializer lists are incompatible with C++98}} \
68 … // expected-warning {{scalar initialized from empty initializer list is incompatible with C++98}}
69 int x { 0 }; // expected-warning {{generalized initializer lists are incompatible with C++98}}
71 s = {}; // expected-warning {{generalized initializer lists are incompatible with C++98}}
72 …, 3 }; // expected-warning {{initialization of initializer_list object is incompatible with C++98}}
73 …3 }; // expected-warning {{initialization of initializer_list object is incompatible with C++98}} \
74 // expected-warning {{'auto' type specifier is incompatible with C++98}}
75 …{ 1, 2 }; // expected-warning {{constructor call from initializer list is incompatible with C++98}}
76 ….0, 4l }; // expected-warning {{constructor call from initializer list is incompatible with C++98}}
77 …lse }; // expected-warning {{initialization of initializer_list object is incompatible with C++98}}
78 …0 }; // expected-warning {{reference initialized from initializer list is incompatible with C++98}}
79 …} }; // expected-warning {{reference initialized from initializer list is incompatible with C++98}}
80 …return { 0 }; // expected-warning {{generalized initializer lists are incompatible with C++98}} ex…
83 …void f(int i = {1}) { // expected-warning {{generalized initializer lists are incompatible with C+… in f()
87 int operator"" _hello(const char *); // expected-warning {{literal operators are incompatible with …
89 …ed : int { // expected-warning {{enumeration types with a fixed underlying type are incompatible w…
92 enum class EnumScoped { // expected-warning {{scoped enumerations are incompatible with C++98}}
95 void Deleted() = delete; // expected-warning {{deleted function definitions are incompatible with C…
97 …Defaulted() = default; // expected-warning {{defaulted function definitions are incompatible with …
100 int &&RvalueReference = 0; // expected-warning {{rvalue references are incompatible with C++98}}
102 void f() &; // expected-warning {{reference qualifiers on functions are incompatible with C++98}}
105 auto f() -> int; // expected-warning {{trailing return types are incompatible with C++98}}
107 auto ff() { return 5; } // expected-warning {{'auto' type specifier is incompatible with C++98}} in ff()
108 // expected-warning@-1 {{return type deduction is incompatible with C++ standards before C++14}}
113 for (int &a : xs) { // expected-warning {{range-based for loop is incompatible with C++98}} in RangeFor()
116 // expected-warning@-1 {{range-based for loop is incompatible with C++98}} in RangeFor()
117 // expected-warning@-2 {{'auto' type specifier is incompatible with C++98}} in RangeFor()
118 // expected-warning@-3 {{initialization of initializer_list object is incompatible with C++98}} in RangeFor()
119 // expected-warning@-4 {{reference initialized from initializer list is incompatible with C++98}} in RangeFor()
121 …2 }; // expected-warning {{reference initialized from initializer list is incompatible with C++98}} in RangeFor()
125 …ected-warning {{default member initializer for non-static data members is incompatible with C++98}}
132 …ol final : OverrideControlBase { // expected-warning {{'final' keyword is incompatible with C++98}}
133 virtual void f() override; // expected-warning {{'override' keyword is incompatible with C++98}}
134 virtual void g() final; // expected-warning {{'final' keyword is incompatible with C++98}}
137 using AliasDecl = int; // expected-warning {{alias declarations are incompatible with C++98}}
138 … T> using AliasTemplate = T; // expected-warning {{alias declarations are incompatible with C++98}}
140 inline namespace InlineNS { // expected-warning {{inline namespaces are incompatible with C++98}}
143 auto auto_deduction = 0; // expected-warning {{'auto' type specifier is incompatible with C++98}}
144 int *p = new auto(0); // expected-warning {{'auto' type specifier is incompatible with C++98}}
146 const int align_of = alignof(int); // expected-warning {{alignof expressions are incompatible with …
147 char16_t c16 = 0; // expected-warning {{'char16_t' type specifier is incompatible with C++98}}
148 char32_t c32 = 0; // expected-warning {{'char32_t' type specifier is incompatible with C++98}}
149 constexpr int const_expr = 0; // expected-warning {{'constexpr' specifier is incompatible with C++9…
150 …t_expr) decl_type = 0; // expected-warning {{'decltype' type specifier is incompatible with C++98}}
152 void no_except() noexcept; // expected-warning {{noexcept specifications are incompatible with C++9…
153 …pt_expr = noexcept(1 + 1); // expected-warning {{noexcept expressions are incompatible with C++98}}
154 void *null = nullptr; // expected-warning {{'nullptr' is incompatible with C++98}}
155 static_assert(true, "!"); // expected-warning {{static_assert declarations are incompatible with C+…
161 …hCtorBase::InhCtorBase; // expected-warning {{inheriting constructors are incompatible with C++98}}
166 …ed-warning {{friend declaration naming a member of the declaring class is incompatible with C++98}}
170 …r(int) : DelegCtor() {} // expected-warning {{delegating constructors are incompatible with C++98}} in DelegCtor()
174 …expected-warning {{default template arguments for a function template are incompatible with C++98}}
179 …TemplateFn(S()); // expected-warning {{local type 'S' as template argument is incompatible with C+… in LocalTemplateArg()
182 …unnamed_type); // expected-warning {{unnamed type as template argument is incompatible with C++98}}
190 …{redundant parentheses surrounding address non-type template argument are incompatible with C++98}}
191 …{redundant parentheses surrounding address non-type template argument are incompatible with C++98}}
203 …plate(); // expected-warning {{use of 'typename' outside of a template is incompatible with C++98}}
204 … // expected-warning {{use of 'template' keyword outside of a template is incompatible with C++98}}
213 … trivial but non-POD type 'TrivialButNonPOD' through variadic function is incompatible with C++98}} in TrivialButNonPODThroughEllipsis()
217 … operator bool(); // expected-warning {{explicit conversion functions are incompatible with C++98}}
223 …Enum; // expected-warning {{befriending enumeration type 'enum ::Enum' is incompatible with C++98}}
224 friend int; // expected-warning {{non-class friend type 'int' is incompatible with C++98}}
225 …t; // expected-warning {{befriending 'Struct' without 'struct' keyword is incompatible with C++98}}
228 …; // expected-warning {{scalar initialized from empty initializer list is incompatible with C++98}}
233 … t) { // expected-warning {{substitution failure due to access control is incompatible with C++98}} in SFINAEAccessControl()
237 … deduced template arguments into function template 'SFINAEAccessControl' [with T = PrivateMember]}}
250 … ntc; // expected-warning {{union member 'ntc' with a non-trivial default constructor is incompati…
251 …ntcp; // expected-warning {{union member 'ntcp' with a non-trivial copy constructor is incompatibl…
252 …Dtor ntd; // expected-warning {{union member 'ntd' with a non-trivial destructor is incompatible w…
256 …pected-warning {{anonymous struct member 'ntc' with a non-trivial default constructor is incompati…
257 …pected-warning {{anonymous struct member 'ntcp' with a non-trivial copy constructor is incompatibl…
258 …/ expected-warning {{anonymous struct member 'ntd' with a non-trivial destructor is incompatible w…
262 …ta member 'd' in union is incompatible with C++98}} expected-warning {{'constexpr' specifier is in…
263 …const int n = 0; // expected-warning {{static data member 'n' in union is incompatible with C++98}}
264 static int k; // expected-warning {{static data member 'k' in union is incompatible with C++98}}
268 …m_val; // expected-warning {{enumeration type in nested name specifier is incompatible with C++98}}
270 …m_val; // expected-warning {{enumeration type in nested name specifier is incompatible with C++98}} in EnumNNSFn()
275 …Jump; // expected-warning {{jump from this goto statement to its label is incompatible with C++98}} in JumpDiagnostics()
280 …{jump from this indirect goto statement to one of its possible targets is incompatible with C++98}} in JumpDiagnostics()
286 …default: // expected-warning {{jump from switch statement to this case label is incompatible with … in JumpDiagnostics()
296 …-warning {{use of non-static data member 'n' in an unevaluated context is incompatible with C++98}}
297 …-warning {{use of non-static data member 'n' in an unevaluated context is incompatible with C++98}}
301 …ed-warning {{universal character name referring to a control character is incompatible with C++98}}
302 …'; // expected-warning {{specifying character 'A' with a universal character name is incompatible …
303 …"; // expected-warning {{specifying character '1' with a universal character name is incompatible …
304 …ed-warning {{universal character name referring to a control character is incompatible with C++98}}
314 …g {{non-type template argument referring to object 'k' with internal linkage is incompatible with …
315 …{{non-type template argument referring to function 'f' with internal linkage is incompatible with …
322 …/ expected-warning {{use of null pointer as non-type template argument is incompatible with C++98}}
323 …/ expected-warning {{use of null pointer as non-type template argument is incompatible with C++98}}
334 …tor it; // expected-warning {{union member 'it' with a non-trivial copy constructor is incompatibl…
349 …a x; // expected-warning {{union member 'x' with a non-trivial copy assignment operator is incompa…
350 …b y; // expected-warning {{union member 'y' with a non-trivial copy assignment operator is incompa…
356 …X(const X&) = delete; // expected-warning{{deleted function definitions are incompatible with C++9…
361 …X x; // expected-warning{{union member 'x' with a non-trivial default constructor is incompatible …
367 // expected-warning@-2 {{variable templates are incompatible with C++ standards before C++14}}
382 // expected-warning@-2 {{variable templates are incompatible with C++ standards before C++14}}
392 // expected-warning@-2 {{variable templates are incompatible with C++ standards before C++14}}
399 // expected-warning@-2 {{variable templates are incompatible with C++ standards before C++14}}
410 int digit_seps = 123'456; // expected-warning {{digit separators are incompatible with C++ standard…
417 …CTAD t = s; // expected-warning {{class template argument deduction is incompatible with C++ stand… in ctad_test()