/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
D | p3.cpp | 12 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct 13 NonLiteral() {} in NonLiteral() argument 14 NonLiteral(int) {} in NonLiteral() argument 30 struct T : SS, NonLiteral { 42 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn() 48 typedef NonLiteral F() const; 52 …constexpr int NonLiteralParam(NonLiteral) const { return 0; } // expected-error {{constexpr functi… in NonLiteralParam() 53 typedef int G(NonLiteral) const; 139 …NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX1Y_4() 186 NonLiteral nl; [all …]
|
D | p6.cpp | 11 struct NonLiteral { struct 12 NonLiteral() {} in NonLiteral() argument 13 NonLiteral(int) {} // expected-note 2{{here}} in NonLiteral() argument 38 constexpr int e = ConstexprMember<NonLiteral>().F(); // expected-error {{constant expression}} expe… 45 constexpr ConstexprCtor<NonLiteral> f3() { return { 0 }; } // expected-error {{never produces a con… in f3() 46 constexpr ConstexprCtor<int, NonLiteral> f4() { return { 0, 0 }; } // expected-error {{never produc… in f4()
|
D | p4.cpp | 12 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct 13 NonLiteral() {} in NonLiteral() function 14 NonLiteral(int) {} in NonLiteral() function 26 …constexpr S(int, NonLiteral, N::C) {} // expected-error {{constexpr constructor's 2nd parameter ty… in S() 27 …constexpr S(int, NonLiteral = 42) {} // expected-error {{constexpr constructor's 2nd parameter typ… in S()
|
/external/llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
D | p3.cpp | 13 struct NonLiteral { // expected-note 3{{no constexpr constructors}} struct 14 NonLiteral() {} in NonLiteral() function 15 NonLiteral(int) {} in NonLiteral() function 34 struct T : SS, NonLiteral { 55 …constexpr NonLiteral NonLiteralReturn() const { return {}; } // expected-error {{constexpr functio… in NonLiteralReturn() 64 typedef NonLiteral F() const; 68 …constexpr int NonLiteralParam(NonLiteral) const { return 0; } // expected-error {{constexpr functi… in NonLiteralParam() 69 typedef int G(NonLiteral) const; 174 …NonLiteral nl; // expected-error {{variable of non-literal type 'NonLiteral' cannot be defined in … in DisallowedStmtsCXX14_4() 224 NonLiteral nl; [all …]
|
D | p6.cpp | 11 struct NonLiteral { struct 12 NonLiteral() {} in NonLiteral() argument 13 NonLiteral(int) {} in NonLiteral() argument 38 constexpr int e = ConstexprMember<NonLiteral>().F(); // expected-error {{constant expression}} expe… 45 constexpr ConstexprCtor<NonLiteral> f3() { return { 0 }; } // expected-error {{never produces a con… in f3() 46 constexpr ConstexprCtor<int, NonLiteral> f4() { return { 0, 0 }; } // expected-error {{never produc… in f4()
|
D | p4.cpp | 13 struct NonLiteral { // expected-note 2{{no constexpr constructors}} struct 14 NonLiteral() {} in NonLiteral() function 15 NonLiteral(int) {} in NonLiteral() function 27 …constexpr S(int, NonLiteral, N::C) {} // expected-error {{constexpr constructor's 2nd parameter ty… in S() 28 …constexpr S(int, NonLiteral = 42) {} // expected-error {{constexpr constructor's 2nd parameter typ… in S()
|
/external/clang/test/SemaCXX/ |
D | literal-type.cpp | 41 struct NonLiteral { NonLiteral(); }; struct 42 struct HasNonLiteralBase : NonLiteral {}; 48 static_assert(!__is_literal(NonLiteral), "fail"); 77 static_assert(__is_literal(HasConstExprCtorT<NonLiteral>), "fail");
|
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 879 NonLiteral(); 882 constexpr int k = NonLiteral().f(); // expected-error {{constant expression}} expected-note {{non-l…
|
/external/llvm-project/clang/test/SemaCXX/ |
D | literal-type.cpp | 41 struct NonLiteral { NonLiteral(); }; struct 42 struct HasNonLiteralBase : NonLiteral {}; 48 static_assert(!__is_literal(NonLiteral), "fail"); 77 static_assert(__is_literal(HasConstExprCtorT<NonLiteral>), "fail");
|
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 989 NonLiteral(); 992 constexpr int k = NonLiteral().f(); // expected-error {{constant expression}} expected-note {{non-l…
|
/external/clang/test/CXX/drs/ |
D | dr16xx.cpp | 12 struct NonLiteral { // expected-note {{because}} struct 13 NonLiteral(); 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/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() argument 123 constexpr int f(MemberType<NonLiteral>) { return 0; } // expected-error {{not a literal type}} in f() argument
|
/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() argument 123 constexpr int f(MemberType<NonLiteral>) { return 0; } // expected-error {{not a literal type}} in f() argument
|
/external/llvm-project/clang/test/CXX/special/class.inhctor/ |
D | p2.cpp | 67 struct NonLiteral { NonLiteral(); }; struct 71 struct BothNonLiteral : NonLiteral, Constexpr { using Constexpr::Constexpr; }; // expected-note {{b…
|
/external/clang/test/CXX/special/class.inhctor/ |
D | p2.cpp | 67 struct NonLiteral { NonLiteral(); }; struct 71 struct BothNonLiteral : NonLiteral, Constexpr { using Constexpr::Constexpr; }; // expected-note {{b…
|
/external/llvm-project/clang/test/CXX/drs/ |
D | dr16xx.cpp | 47 struct NonLiteral { // expected-note {{because}} struct 48 NonLiteral(); 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() struct 505 constexpr C(NonLiteral); 506 constexpr C(NonLiteral, int) {} // expected-error {{not a literal type}} in C()
|
/external/guice/extensions/struts2/lib/ |
D | jsp-2.1.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/ ... |