Home
last modified time | relevance | path

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

/external/clang/test/CXX/drs/
Ddr16xx.cpp12 struct NonLiteral { // expected-note {{because}} struct
14 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() argument
17 constexpr int f(NonLiteral) { return 0; } // expected-error {{not a literal type}} in f() argument
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp6.cpp11 struct NonLiteral { struct
12 NonLiteral() {} in NonLiteral() function
13 NonLiteral(int) {} // expected-note 2{{here}} in NonLiteral() function
14 operator int() const { return 0; } in operator int()
Dp3.cpp12 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
13 NonLiteral() {} in NonLiteral() function
14 NonLiteral(int) {} in NonLiteral() function
Dp4.cpp12 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct
13 NonLiteral() {} in NonLiteral() function
14 NonLiteral(int) {} in NonLiteral() function
/external/clang/test/CXX/basic/basic.types/
Dp10.cpp4 struct NonLiteral { NonLiteral(); }; struct
90 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()
/external/clang/test/SemaCXX/
Dliteral-type.cpp41 struct NonLiteral { NonLiteral(); }; struct
Dcxx1y-deduced-return-type.cpp271 struct NonLiteral { ~NonLiteral(); } nl; // expected-note {{user-provided destructor}} struct
Dconstant-expression-cxx11.cpp878 struct NonLiteral { struct
/external/clang/test/CXX/special/class.inhctor/
Dp2.cpp64 struct NonLiteral { NonLiteral(); }; struct