/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
D | p7.cpp | 4 struct X0 { struct 17 T* X0<T>::static_member = ((T*)0) + 1; // expected-error{{pointer to the function}} argument 19 template class X0<int>; // okay variable 21 template class X0<int(int)>; // expected-note 3{{requested here}} variable 35 template class X0<int(long)>; variable
|
D | p3-0x.cpp | 14 struct X0 { struct 15 struct MemberClass {}; 17 void mem_func() {} in mem_func() 20 struct MemberClassTemplate {}; 23 void mem_func_template(U&) {} in mem_func_template() 25 static int value; 37 template struct X0<X1>; variable 56 template struct has_inline_namespaces::X0<X3>; member in has_inline_namespaces
|
D | p10.cpp | 4 struct X0 { struct 13 void X0<T>::f(T& t) { in f() argument 26 template struct X0<void*>; // expected-note 2{{instantiation}} variable 28 template struct X0<int>; // expected-note 4{{explicit instantiation definition is here}} variable
|
D | p8.cpp | 4 struct X0 { struct 12 template class X0<int(int)>; // ok; nothing gets instantiated. argument 27 template class X0<int>; // ok variable
|
D | p2.cpp | 19 struct X0 { struct 26 T X0<T>::value = 17; argument
|
/external/clang/test/ASTMerge/Inputs/ |
D | class-template1.cpp | 27 struct X0<char> { struct 32 struct X0<wchar_t> { struct 33 int member;
|
D | class-template2.cpp | 28 struct X0<char> { struct 33 struct X0<wchar_t> { argument 34 float member;
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
D | p14.cpp | 22 struct X0 { struct 23 typedef identity<T(Types...)> function_pack_1; 24 …unction_pack_1; // expected-warning {{varargs}} expected-note {{pack}} expected-note {{insert ','}} 25 typedef identity<T(T...)> variadic_1; 26 typedef tuple<T(Types, ...)...> template_arg_expansion_1;
|
/external/clang/test/SemaTemplate/ |
D | current-instantiation.cpp | 12 struct X0 { struct 17 void f0(typename X0::U_type&); argument 36 void g0(typename X0::U_type&); argument 75 struct X0<T*, U*> { struct 82 void f0(typename X0::U_type&); argument 109 void g0(typename X0::U_type&); argument 205 class X0 { class
|
D | explicit-instantiation.cpp | 12 struct X0 { struct 25 T X0<T>::value; // expected-error{{no matching constructor}} argument 83 template <int I> struct X0 { static int x; }; argument 86 template struct X0<1>; variable
|
D | value-dependent-null-pointer-constant.cpp | 4 struct X0 { struct 5 const char *f0(bool Cond) { in f0() 9 const char *f1(bool Cond) { in f1() 13 bool f2(const char *str) { in f2()
|
D | ext-vector-type.cpp | 66 struct X0<T __attribute__((ext_vector_type(N)))> { struct 67 static const unsigned value = 0; 71 struct X0<T __attribute__((ext_vector_type(4)))> { struct 72 static const unsigned value = 1; 76 struct X0<float __attribute__((ext_vector_type(N)))> { struct 77 static const unsigned value = 2; 81 struct X0<float __attribute__((ext_vector_type(4)))> { struct 82 static const unsigned value = 3;
|
D | temp_explicit.cpp | 4 template<typename T, typename U = T> class X0 { }; class 11 template class X0<int, float>; variable 12 template class X0<int>; // expected-note{{previous}} variable 22 template class X0<double> { }; // expected-error{{explicit specialization}} variable 26 template class X0<int, int>; // expected-error{{duplicate}} variable 28 template<> class X0<char> { }; // expected-note{{previous}} class 29 template class X0<char>; // expected-warning{{ignored}} variable 32 template class X0<short>; variable
|
D | temp_explicit_cxx0x.cpp | 4 template<typename T> struct X0 { }; // expected-note{{here}} struct 10 template struct X0<int>; variable 21 template struct X0<double>; // expected-error{{must occur in namespace 'N1'}} variable
|
/external/clang/test/SemaObjCXX/ |
D | arc-memfunc.mm | 4 struct X0 { struct 9 void test_X0(X0 x0, X0 *x0p) { argument
|
/external/clang/test/CXX/temp/temp.spec/ |
D | p5.cpp | 8 struct X0 { struct 17 T X0<T>::value = 3.14; // expected-warning{{implicit conversion from 'double' to 'int' changes valu… argument 19 template struct X0<int>; // expected-note{{previous explicit instantiation}} \ variable 21 template struct X0<int>; // expected-error{{duplicate explicit instantiation}} variable
|
/external/clang/test/SemaCXX/ |
D | static-array-member.cpp | 3 struct X0 { struct 10 int X0::array[sizeof(X0) * 2]; argument
|
/external/clang/test/CodeGenCXX/ |
D | attr-used.cpp | 4 struct X0 { struct 6 __attribute__((used)) X0() {} in X0() argument 8 __attribute__((used)) ~X0() {} in ~X0() argument
|
/external/clang/test/CXX/special/class.ctor/ |
D | p1.cpp | 3 struct X0 { struct 6 X0(); argument 16 X0::X0() { } in X0() function in X0 19 X0 (X0::f0)(int) { return X0(); } in X0() function
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
D | p1.cpp | 30 struct X0 { struct 48 void X0<T>::ft1(T t, U u) { in ft1() argument 54 template<> struct X0<void> { }; struct
|
D | p6.cpp | 4 struct X0 { struct 16 int &use_X0_int(X0<int> x0i, // expected-note{{implicit instantiation first required here}} in use_X0_int() argument 39 struct X0<int> { }; // expected-error{{after instantiation}} struct
|
D | p2.cpp | 62 struct X0 { // expected-note {{explicitly specialized declaration is here}} struct 66 static T member; 71 void f1(T t) { in f1() 101 void N0::X0<T>::ft1(T t, U u) { in ft1() 107 template<> struct N0::X0<void> { }; struct in N0 114 template<> struct N0::X0<const void> { }; // expected-error{{not in a namespace enclosing 'N0'}} struct in N1::N0 121 template<> struct N0::X0<volatile void> { struct in N0 290 struct X0 { struct 295 typedef Inner<OtherInner, OtherInner> MyInner;
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | injected-class-name.cpp | 8 struct X0 { struct 16 void X0<T, Types...>::f0(T) { } in f0() argument 22 struct X0<T, T, Types...> { struct 31 typename X0<T, T, Types...>::result X0<T, T, Types...>::f3() { return 0; } in f3() argument
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
D | p1-retmem.cpp | 7 struct X0 { struct 17 typename X0<T>::size_type X0<T>::f0() const { in f0() argument
|
/external/clang/test/CXX/class/class.mem/ |
D | p14.cpp | 7 struct X0 { struct 8 int X0; // okay member
|