/external/clang/test/CodeGen/ |
H A D | mips-zero-sized-struct.c | 8 // O32: define void @fn28(%struct.T2* noalias sret %agg.result, i8 signext %arg0) 12 typedef struct T2 { } T2; typedef in typeref:struct:T2 13 T2 T2_retval; 14 T2 fn28(char arg0) {
|
/external/clang/test/Layout/ |
H A D | ms-x86-misalignedarray.cpp | 7 struct T2 : virtual T0 { }; struct in inherits:T0 8 struct T3 { T2 a[1]; char c; }; 14 // CHECK-NEXT: 0 | struct T2 [1] a 22 // CHECK-X64-NEXT: 0 | struct T2 [1] a
|
/external/clang/test/SemaCXX/ |
H A D | PR10243.cpp | 15 struct T2 { struct 17 T2& operator=(const T2&) = default;
|
H A D | trivial-destructor.cpp | 7 struct T2 { struct 8 ~T2(); 10 static_assert(!__has_trivial_destructor(T2), "T2 has a user-declared destructor!"); 28 static T2 t2; 33 T2 t2; 37 struct T8 : T2 { 39 static_assert(!__has_trivial_destructor(T8), "The base class T2 does not have a trivial destructor!");
|
H A D | trivial-constructor.cpp | 7 struct T2 { struct 8 T2(); 10 static_assert(!__has_trivial_constructor(T2), "T2 has a user-declared constructor!"); 28 static T2 t2; 37 struct T8 : T2 { 39 static_assert(!__has_trivial_constructor(T8), "The base class T2 does not have a trivial constructor!");
|
H A D | redeclared-alias-template.cpp | 5 template<typename T1, typename T2> using A = T1; // expected-error {{too many template parameters in template redeclaration}} 7 template<typename T1, typename T2> using B = T1; // expected-note {{previous}} 8 template<typename T2, typename T1> using B = T1; // expected-error {{type alias template redefinition with different types}}
|
H A D | function-overload-typo-crash.cpp | 16 template <typename T1, typename T2> void somefunc(T1*, T2*); //expected-note {{'somefunc' declared here}} 17 template <typename T1, typename T2> void somefunc(T1*, const T2[]); //expected-note 2 {{'somefunc' declared here}}
|
/external/clang/test/CodeCompletion/ |
H A D | documentation.cpp | 8 class T2 { class 22 T2 t2; 28 // CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
|
/external/clang/test/Parser/ |
H A D | cxx-template-argument.cpp | 57 template<class T1, typename T2> struct Known { }; // expected-note 3 {{template is declared here}} 58 template<class T1, typename T2> struct X; 59 template<class T1, typename T2> struct ABC; // expected-note {{template is declared here}} 62 template<class T1, typename T2> struct foo : 63 UnknownBase<T1,T2> // expected-error {{unknown template name 'UnknownBase'}} 66 template<class T1, typename T2> struct foo2 : 67 UnknownBase<T1,T2>, // expected-error {{unknown template name 'UnknownBase'}} 71 template<class T1, typename T2> struct foo3 : 72 UnknownBase<T1,T2,ABC<T2,T [all...] |
H A D | cxx-default-args.cpp | 21 template <int A, int B> struct T2 { enum {V}; }; struct in struct:T 26 void f2(T1<int, double> = T1<int, double>(), T2<0, 5> = T2<0, 5>()); 27 void f3(int a = T2<0, (T1<int, int>::V > 10) ? 5 : 6>::V, bool b = 4<5 ); 29 void f5(bool a = 1 > T2<0, 0>::V, bool b = T1<int,int>::V < 3, int c = 0); 30 void f6(bool a = T2<0,3>::V < 4, bool b = 4 > T2<0,3>::V);
|
H A D | cxx0x-member-initializers.cpp | 32 template <int, int> struct T2 { enum {V};}; struct 35 T2<0,0> b1 = T2<0,0>(), b2 = T2<0,0>(), b3;
|
/external/clang/test/CodeGenCXX/ |
H A D | 2009-03-17-dbg.cpp | 3 template <typename T1,typename T2> 4 inline void f(const T1&,const T2&) { } argument 6 template <typename T1,typename T2,void F(const T1&,const T2&)>
|
/external/clang/test/CXX/temp/temp.param/ |
H A D | p11.cpp | 6 class T2> // expected-error{{template parameter missing a default argument}}
|
H A D | p10.cpp | 6 template<class T1, class T2 = int> class B2; 7 template<class T1 = int, class T2> class B2;
|
H A D | p12.cpp | 7 class T2 = int> // expected-note{{previous default template argument defined here}} 9 template<class T1, typename T2> class B3; 11 typename T2 = float> // expected-error{{template parameter redefines default argument}}
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/ |
H A D | eq.pass.cpp | 30 typedef std::tuple<> T2; typedef 32 const T2 t2; 38 typedef std::tuple<double> T2; typedef 40 const T2 t2(1.1); 46 typedef std::tuple<double> T2; typedef 48 const T2 t2(1); 54 typedef std::tuple<double, long> T2; typedef 56 const T2 t2(1, 2); 62 typedef std::tuple<double, long> T2; typedef 64 const T2 t 70 typedef std::tuple<double, long> T2; typedef 78 typedef std::tuple<double, long> T2; typedef 86 typedef std::tuple<double, long, int> T2; typedef 94 typedef std::tuple<double, long, int> T2; typedef 102 typedef std::tuple<double, long, int> T2; typedef 110 typedef std::tuple<double, long, int> T2; typedef 118 typedef std::tuple<double, long, int> T2; typedef 126 typedef std::tuple<double, long, int> T2; typedef 134 typedef std::tuple<double, long, int> T2; typedef 142 typedef std::tuple<double, long, int> T2; typedef 151 typedef std::tuple<double, long, int> T2; typedef [all...] |
H A D | lt.pass.cpp | 42 typedef std::tuple<> T2; typedef 44 const T2 t2; 52 typedef std::tuple<double> T2; typedef 54 const T2 t2(1); 62 typedef std::tuple<double> T2; typedef 64 const T2 t2(0.9); 72 typedef std::tuple<double> T2; typedef 74 const T2 t2(1.1); 82 typedef std::tuple<double, long> T2; typedef 84 const T2 t 92 typedef std::tuple<double, long> T2; typedef 102 typedef std::tuple<double, long> T2; typedef 112 typedef std::tuple<double, long> T2; typedef 122 typedef std::tuple<double, long> T2; typedef 132 typedef std::tuple<double, long, int> T2; typedef 142 typedef std::tuple<double, long, int> T2; typedef 152 typedef std::tuple<double, long, int> T2; typedef 162 typedef std::tuple<double, long, int> T2; typedef 172 typedef std::tuple<double, long, int> T2; typedef 182 typedef std::tuple<double, long, int> T2; typedef 192 typedef std::tuple<double, long, int> T2; typedef 203 typedef std::tuple<double, long, int> T2; typedef [all...] |
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
H A D | Callbacks.java | 41 * @param <T2> the type of argument 2. 43 interface Callback2<T1, T2> { 47 public void call(T1 arg1, T2 arg2); 54 * @param <T2> the type of argument 2. 57 interface Callback3<T1, T2, T3> { 61 public void call(T1 arg1, T2 arg2, T3 arg3); 68 * @param <T2> the type of argument 2. 72 interface Callback4<T1, T2, T3, T4> { 76 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4); 83 * @param <T2> th [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | partial-ordering.cpp | 34 template<typename T1, typename T2, typename ...Rest> 35 int &f0(T1, T2, Rest...); 37 template<typename T1, typename T2> 38 float &f0(T1, T2); 45 template<typename T1, typename T2, typename ...Rest> 46 int &f1(T1, T2, Rest...); 48 template<typename T1, typename T2> 49 float &f1(T1, T2, ...); 55 template<typename T1, typename T2, typename ...Rest> 56 int &f2(T1, T2, Res [all...] |
/external/clang/test/Sema/ |
H A D | align-x86.c | 49 } T2; 51 short chk1[sizeof(T2) == 4 ? 1 : -1]; 52 short chk2[sizeof(T2[1]) == 4 ? 1 : -1]; 53 short chk3[sizeof(T2[2]) == 8 ? 1 : -1]; 54 short chk4[sizeof(T2[2][1]) == 8 ? 1 : -1]; 55 short chk5[sizeof(T2[1][2]) == 8 ? 1 : -1];
|
H A D | static-assert.c | 31 #define UNION(T1, T2) union { \ 33 __typeof__(T2) two; \ 35 _Static_assert(ASSERT_IS_TYPE(T2), "T2 is not a type"); \ 36 _Static_assert(sizeof(T1) == sizeof(T2), "type size mismatch"); \
|
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/ |
H A D | tuple_element.pass.cpp | 12 // template <class T1, class T2> struct pair 14 // tuple_element<I, pair<T1, T2> >::type 18 template <class T1, class T2> 23 typedef T2 Exp2; 24 typedef std::pair<T1, T2> P; 30 typedef T2 const Exp2; 31 typedef std::pair<T1, T2> const P; 37 typedef T2 volatile Exp2; 38 typedef std::pair<T1, T2> volatile P; 44 typedef T2 cons [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
H A D | p22.cpp | 9 template<class T1, class T2> double& f(T1 a1, T2 a2);
|
/external/clang/test/Index/ |
H A D | complete-documentation.cpp | 8 class T2 { class 33 T2 t2; 42 // CHECK-CC1: ClassDecl:{TypedText T2}{{.*}}(brief comment: Bbb.)
|
/external/clang/test/PCH/ |
H A D | cxx-alias-decl.cpp | 14 using T2 = B<A>; 15 using T2 = S;
|