Home
last modified time | relevance | path

Searched defs:NonLiteral (Results 1 – 19 of 19) 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() argument
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() argument
Dp4.cpp12 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct
13 NonLiteral() {} in NonLiteral() argument
14 NonLiteral(int) {} in NonLiteral() function
/external/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp6.cpp11 struct NonLiteral { struct
12 NonLiteral() {} in NonLiteral() function
13 NonLiteral(int) {} in NonLiteral() function
14 operator int() const { return 0; } in operator int()
Dp3.cpp13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() function
15 NonLiteral(int) {} in NonLiteral() argument
Dp4.cpp13 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct
14 NonLiteral() {} in NonLiteral() argument
15 NonLiteral(int) {} in NonLiteral() function
/external/llvm-project/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/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/llvm-project/clang/test/CXX/drs/
Ddr16xx.cpp47 struct NonLiteral { // expected-note {{because}} struct
49 constexpr int f() { return 0; } // expected-warning 0-1{{will not be implicitly 'const'}} in f()
51 constexpr int f(NonLiteral &) { return 0; } in f() argument
52 constexpr int f(NonLiteral) { return 0; } // expected-error {{not a literal type}} in f() argument
Ddr6xx.cpp502 …struct NonLiteral { NonLiteral() {} }; // expected-note {{not an aggregate and has no constexpr co… in NonLiteral() function
/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/llvm-project/clang/test/SemaCXX/
Dliteral-type.cpp41 struct NonLiteral { NonLiteral(); }; struct
Dcxx1y-deduced-return-type.cpp290 struct NonLiteral { ~NonLiteral(); } nl; // expected-note {{user-provided destructor}} struct
Dconstant-expression-cxx11.cpp988 struct NonLiteral { struct
/external/clang/test/CXX/special/class.inhctor/
Dp2.cpp67 struct NonLiteral { NonLiteral(); }; struct
/external/llvm-project/clang/test/CXX/special/class.inhctor/
Dp2.cpp67 struct NonLiteral { NonLiteral(); }; struct