Home
last modified time | relevance | path

Searched defs:NonLiteral (Results 1 – 15 of 15) sorted by relevance

/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp6.cpp11 struct NonLiteral { struct
12 NonLiteral() {} in NonLiteral() argument
13 NonLiteral(int) {} in NonLiteral() function
14 operator int() const { return 0; } in operator int()
H A Dp3-2b.cpp27 struct NonLiteral { // expected-note 2 {{'NonLiteral' is not literal}} struct
28 NonLiteral() {} in NonLiteral() argument
H A Dp3.cpp14 struct NonLiteral { // beforecxx23-note 2{{no constexpr constructors}} struct
15 NonLiteral() {} in NonLiteral() function
16 NonLiteral(int) {} in NonLiteral() function
H A Dp4.cpp13 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() function
/llvm-project/clang/test/SemaCXX/
H A Dconstant-expression-cxx2b.cpp4 struct NonLiteral { // cxx2a-note {{'NonLiteral' is not literal}} \ struct
6 NonLiteral() {} // cxx23-note 2{{declared here}} in NonLiteral() argument
[all...]
H A Dcxx23-invalid-constexpr.cpp25 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...]
H A Dliteral-type.cpp43 struct NonLiteral { NonLiteral(); }; global() struct
H A Ddeduced-return-type-cxx14.cpp319 struct NonLiteral { ~NonLiteral(); } nl; // cxx14-note {{user-provided destructor}} struct
H A Dconstant-expression-cxx11.cpp1013 struct NonLiteral { global() struct
/llvm-project/clang/test/CXX/basic/basic.types/
H A Dp10.cpp4 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
/llvm-project/clang/test/CXX/drs/
H A Dcwg16xx.cpp356 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
H A Dcwg25xx.cpp254 struct NonLiteral { global() struct
H A Dcwg6xx.cpp580 NonLiteralcwg647::NonLiteral NonLiteral() argument
/llvm-project/clang/test/CXX/special/class.inhctor/
H A Dp2.cpp67 struct NonLiteral { NonLiteral(); }; struct
/llvm-project/clang/test/AST/Interp/
H A Dliterals.cpp