Searched defs:NonLiteral (Results 1 – 15 of 15) sorted by relevance
11 struct NonLiteral { struct12 NonLiteral() {} in NonLiteral() argument13 NonLiteral(int) {} in NonLiteral() function14 operator int() const { return 0; } in operator int()
27 struct NonLiteral { // expected-note 2 {{'NonLiteral' is not literal}} struct28 NonLiteral() {} in NonLiteral() argument
14 struct NonLiteral { // beforecxx23-note 2{{no constexpr constructors}} struct15 NonLiteral() {} in NonLiteral() function16 NonLiteral(int) {} in NonLiteral() function
13 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct14 NonLiteral() {} in NonLiteral() function15 NonLiteral(int) {} in NonLiteral() function
4 struct NonLiteral { // cxx2a-note {{'NonLiteral' is not literal}} \ struct 6 NonLiteral() {} // cxx23-note 2{{declared here}} in NonLiteral() argument [all...]
25 class NonLiteral { // expected-note {{'NonLiteral' is not literal because it is not an aggregate and has no constexpr constructors}} class 27 NonLiteral() {} in NonLiteral() function in NonLiteral [all...]
43 struct NonLiteral { NonLiteral(); }; global() struct
319 struct NonLiteral { ~NonLiteral(); } nl; // cxx14-note {{user-provided destructor}} struct
1013 struct NonLiteral { global() struct
4 struct NonLiteral { NonLiteral(); }; struct 90 constexpr int f(CtorArg<NonLiteral>) { return 0; } // ok, ctor is still constexpr in f() argument 123 constexpr int f(MemberType<NonLiteral>) { return 0; } // expected-error {{not a literal type}} in f() argument
356 struct NonLiteral { // #cwg1684-struct struct 361 constexpr int f(NonLiteral &) { return 0; } in f() argument 362 constexpr int f(NonLiteral) { return 0; } in f() argument 358 fcwg1684::NonLiteral f() argument
254 struct NonLiteral { global() struct
580 NonLiteralcwg647::NonLiteral NonLiteral() argument
67 struct NonLiteral { NonLiteral(); }; struct