/external/clang/test/SemaTemplate/ |
H A D | temp_explicit_cxx0x.cpp | 4 template<typename T> struct X0 { }; // expected-note{{here}} struct in namespace:N1 10 template struct X0<int>; 21 template struct X0<double>; // expected-error{{must occur in namespace 'N1'}}
|
H A D | extern-templates.cpp | 4 class X0 { class 14 void X0<T>::f(T t) { 18 extern template class X0<int>; 20 extern template class X0<int*>; 23 void X0<T>::Inner::g(T t) { 27 void test_intptr(X0<int*> xi, X0<int*>::Inner xii) { 32 extern template class X0<long*>; 34 void test_longptr(X0<long*> xl, X0<lon [all...] |
H A D | injected-class-name.cpp | 20 struct X0 { struct 25 void f0(const X0&); // expected-note{{here}} 26 void f0(X0&); 27 void f0(const X0<T, U>&); // expected-error{{redecl}} 29 void f1(const X0&); // expected-note{{here}} 30 void f1(X0&); 31 void f1(const X0<type, U_type2>&); // expected-error{{redecl}} 33 void f2(const X0&); // expected-note{{here}} 34 void f2(X0&); 35 void f2(const ::X0<typ [all...] |
H A D | current-instantiation.cpp | 12 struct X0 { struct 17 void f0(typename X0::U_type&); 18 void f0(typename X0::T_type&); // expected-error{{redecl}} 21 void f1(typename X0::U_type&); 22 void f1(typename X0<T, U>::T_type&); // expected-error{{redecl}} 25 void f2(typename X0::U_type&); 26 void f2(typename X0<T_type, U_type>::T_type&); // expected-error{{redecl}} 29 void f3(typename X0::U_type&); 30 void f3(typename ::X0<T_type, U_type>::T_type&); // expected-error{{redecl}} 36 void g0(typename X0 75 struct X0<T*, U*> { struct 205 class X0 { class in namespace:PR9255 [all...] |
H A D | explicit-instantiation.cpp | 11 struct X0 { struct 24 T X0<T>::value; // expected-error{{no matching constructor}} 26 template int X0<int>::value; 32 template NotDefaultConstructible X0<NotDefaultConstructible>::value; // expected-note{{instantiation}} 34 template int X0<int>::f0(int); 35 template int* X0<int>::f0(int*, int*); 36 template int X0<int>::f0(int, float); 38 template int X0<int>::f0(int) const; // expected-error{{does not refer}} 39 template int* X0<int>::f0(int*, float*); // expected-error{{does not refer}} 44 template MemPtr X0<MemPt 81 template <int I> struct X0 { static int x; }; struct in namespace:explicit_instantiation_after_implicit_instantiation [all...] |
H A D | explicit-specialization-member.cpp | 3 struct X0 { struct 10 template<> void X0<char>::f0(char); 11 template<> void X0<char>::f1(type);
|
H A D | instantiate-declref-ice.cpp | 13 struct X0 { struct 18 const unsigned X0<T>::value; 20 int array1[X0<int>::value == sizeof(int)? 1 : -1]; 22 const unsigned& testX0() { return X0<int>::value; } 24 int array2[X0<int>::value == sizeof(int)? 1 : -1];
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
H A D | p8.cpp | 4 struct X0 { struct 12 template class X0<int(int)>; // ok; nothing gets instantiated. 15 struct X0<T>::MemberClass { 20 T* X0<T>::f0(T* ptr) { 25 T* X0<T>::static_member = 0; 27 template class X0<int>; // ok
|
H A D | p9-linkage.cpp | 4 struct X0 { struct 17 inline void X0<T>::g(T & t) { 22 void X0<T>::h(T & t) { 27 T X0<T>::static_var = 0; 29 extern template struct X0<int*>; 31 int *&test(X0<int*> xi, int *ip) { 38 return X0<int*>::static_var;
|
H A D | p9.cpp | 4 struct X0 { struct 17 inline void X0<T>::g(T & t) { 22 void X0<T>::h(T & t) { 27 T X0<T>::static_var = 1; 29 extern template struct X0<int*>; 31 int *&test(X0<int*> xi, int *ip) { 35 return X0<int*>::static_var;
|
/external/clang/test/CXX/class/class.mem/ |
H A D | p13.cpp | 7 struct X0 { struct 8 static int X0; // expected-error{{member 'X0' has the same name as its class}} member in struct:X0
|
/external/clang/test/CXX/except/except.spec/ |
H A D | p14-ir.cpp | 4 struct X0 { struct 5 X0(); 6 X0(const X0 &) throw(); 7 X0(X0 &); 18 struct X3 : X0, X1 { 26 struct X5 : X0, X4 { };
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/ |
H A D | p2.cpp | 2 struct X0 { struct 3 X0 f1(); 4 X0 f2(); 21 X0::X0 X0::f1() { return X0(); } // expected-error{{qualified reference to 'X0' is a constructor name rather than a type wherever a constructor can be declared}} 23 struct X0::X0 X [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.new/ |
H A D | p19.cpp | 6 struct X0 { struct 7 X0(); 21 ::new X0<2>; 23 new X0<3>; // expected-note 2{{instantiation}}
|
/external/clang/test/CXX/class.access/class.friend/ |
H A D | p3-cxx0x.cpp | 3 class X0 { class 9 X0<Y1> x0a; 10 X0<Y1 *> x0b; 11 X0<int> x0c; 12 X0<E1> x0d;
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
H A D | p1.cpp | 29 struct X0 { struct 47 void X0<T>::ft1(T t, U u) { 51 template<typename T> T X0<T>::member; 53 template<> struct X0<void> { }; struct 54 X0<void> test_X0; 58 template<> void X0<void*>::f1(void *) { } 60 void test_spec(X0<void*> xvp, void *vp) { 66 NonDefaultConstructible X0<NonDefaultConstructible>::member = 17; 69 return X0<NonDefaultConstructible>::member; 74 struct X0<voi [all...] |
H A D | p6.cpp | 4 struct X0 { struct 16 int &use_X0_int(X0<int> x0i, // expected-note{{implicit instantiation first required here}} 20 X0<int>::Nested nested; // expected-note{{implicit instantiation first required here}} 21 return X0<int>::member; // expected-note{{implicit instantiation first required here}} 25 void X0<int>::f() { // expected-error{{after instantiation}} 29 void X0<int>::g(int) { // expected-error{{after instantiation}} 33 struct X0<int>::Nested { }; // expected-error{{after instantiation}} 36 int X0<int>::member = 17; // expected-error{{after instantiation}} 39 struct X0<int> { }; // expected-error{{after instantiation}} struct
|
/external/clang/test/CXX/expr/expr.mptr.oper/ |
H A D | p5.cpp | 3 struct X0 { struct 10 void test_object_cvquals(void (X0::*pm)(), argument 11 void (X0::*pmc)() const, 12 void (X0::*pmv)() volatile, 13 void (X0::*pmcv)() const volatile, 14 X0 *p, 15 const X0 *pc, 16 volatile X0 *pv, 17 const volatile X0 *pcv, 18 X0 [all...] |
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/ |
H A D | p3.cpp | 9 struct X0 { struct
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.class/ |
H A D | p1.cpp | 4 struct X0 { struct 9 struct X0<T, U>::Inner { 18 X0<int, float>::Inner inner; 23 X0<int*, float *>::Inner inner2;
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
H A D | p1inst.cpp | 4 struct X0 { struct 10 void X0<T, U>::f(T *t, const U &u) { 14 void test_f(X0<float, int> xfi, X0<void, int> xvi, float *fp, void *vp, int i) {
|
H A D | p1.cpp | 3 class X0 { class 7 X0(int); 8 ~X0(); 25 void X0<T, U>::f0(const T&, const U&) { // expected-note{{previous definition}} 29 X& X0<X, Y>::operator[](int i) const { 35 void X0<X, Y>::f1(int) const { } 38 void X0<X, Y>::f2(size_type) const { } 41 void X0<X, Y>::f3(size_type) const { 45 void X0<Y, X>::f4() { } // expected-error{{does not refer}} 47 // FIXME: error message should probably say, "redefinition of 'X0< 55 X0<T, U>::X0(int x) : value(x) { } function in class:X0 [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | template-linkage.cpp | 26 struct X0 { struct 27 virtual ~X0() { } 31 struct X1 : X0<T> { 37 extern template struct X0<char>;
|
H A D | override-layout.cpp | 15 // CHECK: Type: struct X0 16 struct X0 : public Empty1 { struct in inherits:Empty1 21 struct X1 : public X0, public Empty2 { 23 struct X0 y; 27 struct PACKED X2 : public X1, public X0, public Empty1 { 33 struct PACKED X3 : virtual public X1, public X0 { 58 X0 x0s[sizeof(X0)];
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | fixed-expansion.cpp | 21 class X0 { }; class in namespace:ExpandIntoFixed 26 typedef X0<Ts...> type; 30 X0<int, int, pair<int, int>, pair<int, int>*>>::value, 34 X0<int, int, float, float*>>::value, 38 X0<int, int, float, double>>::value, 47 class X0 { }; class in namespace:ExpandIntoFixedShifted 52 typedef X0<char, Ts...> type; 56 X0<char, int, pair<char, int>, pair<char, int>*>>::value, 60 X0<char, int, float, float*>>::value, 64 X0<cha 114 struct X0<Ts...> { struct in namespace:PartialSpecialization [all...] |