/external/clang/test/Layout/ |
ms-x86-misalignedarray.cpp | 7 struct T2 : virtual 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/ |
PR10243.cpp | 15 struct T2 { 17 T2& operator=(const T2&) = default;
|
trivial-destructor.cpp | 7 struct T2 { 8 ~T2(); 10 static_assert(!__has_trivial_destructor(T2), "T2 has a user-declared destructor!"); 28 static T2 t2; member in struct:T6 33 T2 t2; member in struct:T7 35 static_assert(!__has_trivial_destructor(T7), "t2 does not have a trivial destructor!"); 37 struct T8 : T2 { [all...] |
trivial-constructor.cpp | 7 struct T2 { 8 T2(); 10 static_assert(!__has_trivial_constructor(T2), "T2 has a user-declared constructor!"); 28 static T2 t2; member in struct:T6 37 struct T8 : T2 { 39 static_assert(!__has_trivial_constructor(T8), "The base class T2 does not have a trivial constructor!");
|
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/ |
documentation.cpp | 8 class T2 { 22 T2 t2; local 23 t2. 28 // CHECK-CC1: COMPLETION: T2 : T2 : Bbb.
|
/external/clang/test/Parser/ |
cxx-template-argument.cpp | 50 template<class T1, typename T2> struct Known { }; // expected-note 3 {{template is declared here}} 51 template<class T1, typename T2> struct X; 52 template<class T1, typename T2> struct ABC; // expected-note {{template is declared here}} 55 template<class T1, typename T2> struct foo : 56 UnknownBase<T1,T2> // expected-error {{unknown template name 'UnknownBase'}} 59 template<class T1, typename T2> struct foo2 : 60 UnknownBase<T1,T2>, // expected-error {{unknown template name 'UnknownBase'}} 64 template<class T1, typename T2> struct foo3 : 65 UnknownBase<T1,T2,ABC<T2,T1> > // expected-error {{unknown template name 'UnknownBase'} [all...] |
cxx-default-args.cpp | 21 template <int A, int B> struct T2 { enum {V}; }; 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);
|
cxx0x-member-initializers.cpp | 32 template <int, int> struct T2 { enum {V};}; 35 T2<0,0> b1 = T2<0,0>(), b2 = T2<0,0>(), b3;
|
/external/clang/test/CodeGenCXX/ |
2009-03-17-dbg.cpp | 3 template <typename T1,typename T2> 4 inline void f(const T1&,const T2&) { } 6 template <typename T1,typename T2,void F(const T1&,const T2&)>
|
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.rel/ |
eq.pass.cpp | 26 typedef std::tuple<> T2; 28 const T2 t2; local 29 assert(t1 == t2); 30 assert(!(t1 != t2)); 34 typedef std::tuple<double> T2; 36 const T2 t2(1.1); 37 assert(!(t1 == t2)); 38 assert(t1 != t2); [all...] |
lt.pass.cpp | 38 typedef std::tuple<> T2; 40 const T2 t2; local 41 assert(!(t1 < t2)); 42 assert( (t1 <= t2)); 43 assert(!(t1 > t2)); 44 assert( (t1 >= t2)); 48 typedef std::tuple<double> T2; 50 const T2 t2(1) [all...] |
/external/clang/test/CXX/temp/temp.param/ |
p10.cpp | 6 template<class T1, class T2 = int> class B2; 7 template<class T1 = int, class T2> class B2;
|
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}}
|
p11.cpp | 6 class T2> // expected-error{{template parameter missing a default argument}}
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Callbacks.java | 31 * @param <T2> the type of argument 2. 33 interface Callback2<T1, T2> { 37 public void call(T1 arg1, T2 arg2); 44 * @param <T2> the type of argument 2. 47 interface Callback3<T1, T2, T3> { 51 public void call(T1 arg1, T2 arg2, T3 arg3); 58 * @param <T2> the type of argument 2. 62 interface Callback4<T1, T2, T3, T4> { 66 public void call(T1 arg1, T2 arg2, T3 arg3, T4 arg4); 73 * @param <T2> the type of argument 2 [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
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, Rest...) [all...] |
/external/clang/test/Sema/ |
align-x86.c | 47 } T2; 49 short chk1[sizeof(T2) == 4 ? 1 : -1]; 50 short chk2[sizeof(T2[1]) == 4 ? 1 : -1]; 51 short chk3[sizeof(T2[2]) == 8 ? 1 : -1]; 52 short chk4[sizeof(T2[2][1]) == 8 ? 1 : -1]; 53 short chk5[sizeof(T2[1][2]) == 8 ? 1 : -1];
|
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/llvm/include/llvm/Support/ |
Format.h | 94 template <typename T1, typename T2> 97 T2 Val2; 99 format_object2(const char *fmt, const T1 &val1, const T2 &val2) 108 template <typename T1, typename T2, typename T3> 111 T2 Val2; 114 format_object3(const char *fmt, const T1 &val1, const T2 &val2,const T3 &val3) 123 template <typename T1, typename T2, typename T3, typename T4> 126 T2 Val2; 130 format_object4(const char *fmt, const T1 &val1, const T2 &val2, 140 template <typename T1, typename T2, typename T3, typename T4, typename T5 [all...] |
/external/chromium_org/components/nacl/loader/nonsfi/ |
irt_util.h | 38 // Here, T1 must be a signed integer value, and T2 must be convertible from 40 template<typename T1, typename T2> 41 int CheckErrorWithResult(const T1& result, T2* out) {
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p22.cpp | 9 template<class T1, class T2> double& f(T1 a1, T2 a2);
|
/external/clang/test/Index/ |
complete-documentation.cpp | 8 class T2 { 33 T2 t2; local 34 t2.T4; 42 // CHECK-CC1: ClassDecl:{TypedText T2}{{.*}}(brief comment: Bbb.)
|
/external/libcxx/test/thread/thread.mutex/thread.lock/ |
types.pass.cpp | 26 typedef std::try_to_lock_t T2; 30 T2 t2 = std::try_to_lock; local
|
/external/chromium_org/google_apis/drive/ |
task_util.h | 44 template<typename T1, typename T2> 45 struct ComposedCallback<void(T1, T2)> { 48 const base::Callback<void(T1, T2)>& callback, 49 T1 arg1, T2 arg2) { 55 template<typename T1, typename T2, typename D2> 56 struct ComposedCallback<void(T1, scoped_ptr<T2, D2>)> { 59 const base::Callback<void(T1, scoped_ptr<T2, D2>)>& callback, 60 T1 arg1, scoped_ptr<T2, D2> arg2) { 66 template<typename T1, typename T2, typename T3> 67 struct ComposedCallback<void(T1, T2, T3)> [all...] |