/external/clang/test/CXX/drs/ |
D | dr16xx.cpp | 12 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/ |
D | p6.cpp | 11 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()
|
D | p3.cpp | 12 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct 13 NonLiteral() {} in NonLiteral() function 14 NonLiteral(int) {} in NonLiteral() argument
|
D | p4.cpp | 12 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/ |
D | p6.cpp | 11 struct NonLiteral { struct 12 NonLiteral() {} in NonLiteral() function 13 NonLiteral(int) {} in NonLiteral() function 14 operator int() const { return 0; } in operator int()
|
D | p3.cpp | 13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct 14 NonLiteral() {} in NonLiteral() function 15 NonLiteral(int) {} in NonLiteral() argument
|
D | p4.cpp | 13 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/ |
D | p10.cpp | 4 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/ |
D | p10.cpp | 4 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/ |
D | dr16xx.cpp | 47 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
|
D | dr6xx.cpp | 502 …struct NonLiteral { NonLiteral() {} }; // expected-note {{not an aggregate and has no constexpr co… in NonLiteral() function
|
/external/clang/test/SemaCXX/ |
D | literal-type.cpp | 41 struct NonLiteral { NonLiteral(); }; struct
|
D | cxx1y-deduced-return-type.cpp | 271 struct NonLiteral { ~NonLiteral(); } nl; // expected-note {{user-provided destructor}} struct
|
D | constant-expression-cxx11.cpp | 878 struct NonLiteral { struct
|
/external/llvm-project/clang/test/SemaCXX/ |
D | literal-type.cpp | 41 struct NonLiteral { NonLiteral(); }; struct
|
D | cxx1y-deduced-return-type.cpp | 290 struct NonLiteral { ~NonLiteral(); } nl; // expected-note {{user-provided destructor}} struct
|
D | constant-expression-cxx11.cpp | 988 struct NonLiteral { struct
|
/external/clang/test/CXX/special/class.inhctor/ |
D | p2.cpp | 67 struct NonLiteral { NonLiteral(); }; struct
|
/external/llvm-project/clang/test/CXX/special/class.inhctor/ |
D | p2.cpp | 67 struct NonLiteral { NonLiteral(); }; struct
|