/external/clang/test/SemaTemplate/ |
H A D | partial-spec-instantiate.cpp | 11 template <class T> struct X2 {}; struct 14 struct X2<U*> { struct 20 void a(char *a, char *b) {X2<char*>::f();}
|
H A D | copy-ctor-assign.cpp | 43 struct X2 : X1 { struct in inherits:X1 44 template<typename U> X2 &operator=(const U&); 47 struct X3 : X2<int> {
|
H A D | explicit-instantiation.cpp | 46 struct X2 { struct 56 template int X2::f0(int); // expected-error{{not an instantiation}} 58 template int *X2::f1(int *); // okay 60 template void X2::f2(int *, int *); // expected-error{{ambiguous}}
|
H A D | instantiate-member-pointers.cpp | 17 struct X2 { struct 24 template struct X2<int, Y>; 25 template struct X2<int&, Y>; // expected-note{{instantiation}} 26 template struct X2<const void, Y>; // expected-note{{instantiation}}
|
H A D | instantiate-template-template-parm.cpp | 38 struct X2 { struct 45 X2<int, X3i> x2okay; 46 X2<long, X3l> x2bad; // expected-note{{instantiation}}
|
H A D | temp_explicit.cpp | 37 template<typename T> struct X2; // expected-note{{declared here}} 39 template struct X2<float>; // expected-error{{undefined template}} 42 struct X2 { struct 46 template struct X2<int>; // okay 47 template struct X2<int&>; // expected-note{{in instantiation of}}
|
H A D | constructor-template.cpp | 54 struct X2 { struct 55 X2(); // expected-note{{candidate constructor}} 56 X2(X2&); // expected-note {{candidate constructor}} 57 template<typename T> X2(T); 60 X2 test(bool Cond, X2 x2) { 64 return X2(); // expected-error{{no matching constructor}}
|
H A D | current-instantiation.cpp | 105 struct X2 { struct in struct:X0 126 void g4(typename X2::my_T_type&); // expected-error{{redecl}} 130 void g5(typename X0::X2::my_T_type&); // expected-error{{redecl}} 134 void g6(typename X0<T*, U*>::X2::my_T_type&); // expected-error{{redecl}} 138 void g7(typename ::X0<typename X2::my_T_type*, U_type*>::X2::my_T_type&); // expected-error{{redecl}} 142 void g8(typename ::X0<typename X0<T_type*, U*>::X2::my_T_type*, U_type*>::X2::my_T_type&); // expected-error{{redecl}}
|
H A D | dependent-base-classes.cpp | 12 struct X2 : vector<T> { }; // expected-error{{unknown template name 'vector'}} struct in inherits:vector
|
/external/clang/test/CXX/except/except.spec/ |
H A D | p14.cpp | 13 struct X2 : public X0, public X1 { }; // expected-error 2{{exception specification of overriding function is more lax than base version}} struct in inherits:X0,X1
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/ |
H A D | p8.cpp | 107 template<typename T> struct X2 { }; struct in namespace:redecl2::n1 115 template<typename T> struct X2 { }; struct in namespace:redecl2
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
H A D | p3-0x.cpp | 78 struct X2 { struct in namespace:Static 88 X2<int>().g(0);
|
/external/clang/test/CXX/expr/expr.unary/expr.new/ |
H A D | p20.cpp | 35 struct X2 { struct 36 X2(); 49 new (0, 0) X2<1>; // expected-note{{instantiation}}
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
H A D | p1.cpp | 82 class X2 { class 91 void X2<T>::Bar<F>::Func() {}
|
/external/clang/test/SemaCXX/ |
H A D | default-constructor-initializers.cpp | 7 struct X2 : X1 { // expected-note 2 {{'X2' declared here}} struct in inherits:X1 8 X2(int); 11 struct X3 : public X2 { // expected-error {{implicit default constructor for 'X3' must explicitly initialize the base class 'X2' which does not have a default constructor}} 18 X2 x2; // expected-note {{member is declared here}} 19 X2 & rx2; // expected-note {{declared here}}
|
H A D | warn-bad-memaccess.cpp | 20 struct X2 : virtual S1 {} x2; struct in inherits:S1
|
H A D | default-assignment-operator.cpp | 115 struct X2 : X0, X1 { }; struct in namespace:MultiplePaths 117 void f(X2 x2) { x2 = x2; }
|
H A D | nullptr.cpp | 173 struct X2 {}; struct in namespace:templates 175 X2<nullptr, nullptr, nullptr, nullptr> x2;
|
H A D | overload-member-call.cpp | 63 struct X2 : X1 { }; struct in inherits:X1 65 void test_X2(X2 *x2p, const X2 *cx2p) {
|
H A D | user-defined-conversions.cpp | 75 struct X2 { struct 82 void g(X2 b) {
|
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
H A D | templates.cpp | 142 struct X2 { struct in namespace:NonLocalLambdaInstantation 146 X2<int> x2i; 147 X2<float> x2f; 148 X2<int*> x2ip; // expected-note{{in instantiation of template class 'NonLocalLambdaInstantation::X2<int *>' requested here}}
|
/external/clang/test/CodeGenCXX/ |
H A D | implicit-copy-constructor.cpp | 64 struct X2 { X1<int> result; }; struct 67 typedef X2 impl;
|
H A D | override-layout.cpp | 26 // CHECK: Type: struct X2 27 struct PACKED X2 : public X1, public X0, public Empty1 { struct in inherits:X1,X0,Empty1 60 X2 x2s[sizeof(X2)];
|
H A D | visibility-inlines-hidden.cpp | 33 struct __attribute__((visibility("default"))) X2 { struct 39 void use(X0 *x0, X1<int> *x1, X2 *x2, X1<float> *x3) {
|
/external/clang/test/Index/ |
H A D | annotate-nested-name-specifier.cpp | 38 struct X2 : outer::inner::vector<T> { struct in inherits:outer::inner::vector 218 // CHECK: Punctuation: ";" [40:54 - 40:55] ClassTemplate=X2:38:8 (Definition)
|