Searched defs:X2 (Results 26 - 50 of 78) sorted by relevance

1234

/external/clang/test/SemaTemplate/
H A Dpartial-spec-instantiate.cpp11 template <class T> struct X2 {}; struct
14 struct X2<U*> { struct
20 void a(char *a, char *b) {X2<char*>::f();}
H A Dcopy-ctor-assign.cpp43 struct X2 : X1 { struct in inherits:X1
44 template<typename U> X2 &operator=(const U&);
47 struct X3 : X2<int> {
H A Dexplicit-instantiation.cpp46 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 Dinstantiate-member-pointers.cpp17 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 Dinstantiate-template-template-parm.cpp38 struct X2 { struct
45 X2<int, X3i> x2okay;
46 X2<long, X3l> x2bad; // expected-note{{instantiation}}
H A Dtemp_explicit.cpp37 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 Dconstructor-template.cpp54 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 Dcurrent-instantiation.cpp105 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 Ddependent-base-classes.cpp12 struct X2 : vector<T> { }; // expected-error{{unknown template name 'vector'}} struct in inherits:vector
/external/clang/test/CXX/except/except.spec/
H A Dp14.cpp13 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 Dp8.cpp107 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 Dp3-0x.cpp78 struct X2 { struct in namespace:Static
88 X2<int>().g(0);
/external/clang/test/CXX/expr/expr.unary/expr.new/
H A Dp20.cpp35 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 Dp1.cpp82 class X2 { class
91 void X2<T>::Bar<F>::Func() {}
/external/clang/test/SemaCXX/
H A Ddefault-constructor-initializers.cpp7 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 Dwarn-bad-memaccess.cpp20 struct X2 : virtual S1 {} x2; struct in inherits:S1
H A Ddefault-assignment-operator.cpp115 struct X2 : X0, X1 { }; struct in namespace:MultiplePaths
117 void f(X2 x2) { x2 = x2; }
H A Dnullptr.cpp173 struct X2 {}; struct in namespace:templates
175 X2<nullptr, nullptr, nullptr, nullptr> x2;
H A Doverload-member-call.cpp63 struct X2 : X1 { }; struct in inherits:X1
65 void test_X2(X2 *x2p, const X2 *cx2p) {
H A Duser-defined-conversions.cpp75 struct X2 { struct
82 void g(X2 b) {
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dtemplates.cpp142 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 Dimplicit-copy-constructor.cpp64 struct X2 { X1<int> result; }; struct
67 typedef X2 impl;
H A Doverride-layout.cpp26 // 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 Dvisibility-inlines-hidden.cpp33 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 Dannotate-nested-name-specifier.cpp38 struct X2 : outer::inner::vector<T> { struct in inherits:outer::inner::vector
218 // CHECK: Punctuation: ";" [40:54 - 40:55] ClassTemplate=X2:38:8 (Definition)

Completed in 372 milliseconds

1234