Searched defs:NonLiteral (Results 1 – 9 of 9) sorted by relevance
12 struct NonLiteral { // expected-note {{because}} struct14 constexpr int f() { return 0; } // expected-warning 0-1{{will not be implicitly 'const'}} in f()16 constexpr int f(NonLiteral &) { return 0; } in f() argument17 constexpr int f(NonLiteral) { return 0; } // expected-error {{not a literal type}} in f() argument
11 struct NonLiteral { struct12 NonLiteral() {} in NonLiteral() function13 NonLiteral(int) {} // expected-note 2{{here}} in NonLiteral() function14 operator int() const { return 0; } in operator int()
12 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct13 NonLiteral() {} in NonLiteral() function14 NonLiteral(int) {} in NonLiteral() function
12 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct13 NonLiteral() {} in NonLiteral() function14 NonLiteral(int) {} in NonLiteral() function
4 struct NonLiteral { NonLiteral(); }; struct90 constexpr int f(CtorArg<NonLiteral>) { return 0; } // ok, ctor is still constexpr in f()123 constexpr int f(MemberType<NonLiteral>) { return 0; } // expected-error {{not a literal type}} in f()
41 struct NonLiteral { NonLiteral(); }; struct
271 struct NonLiteral { ~NonLiteral(); } nl; // expected-note {{user-provided destructor}} struct
878 struct NonLiteral { struct
64 struct NonLiteral { NonLiteral(); }; struct