/external/clang/test/CXX/class/class.mem/ |
H A D | p14.cpp | 17 struct X2 { struct 18 X2(); 19 float X2; // expected-error{{member 'X2' has the same name as its class}} member in struct:X2
|
H A D | p13.cpp | 19 struct X2 { struct 20 typedef int X2; // expected-error{{member 'X2' has the same name as its class}} typedef in struct:X2
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p13.cpp | 38 struct X2 { struct
|
/external/clang/test/Preprocessor/ |
H A D | macro_fn_comma_swallow.c | 10 #define X2(Y) fo2{A,##Y} macro 11 2: X2()
|
/external/clang/test/CXX/expr/expr.post/expr.call/ |
H A D | p7-0x.cpp | 7 struct X2 { struct 8 X2(); 9 ~X2(); 14 void f(X1 x1, X2 x2) { 16 vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic function; call will abort at runtime}}
|
/external/clang/test/CodeGenCXX/ |
H A D | instantiate-temporaries.cpp | 12 struct X2 { struct 29 (X2){};
|
H A D | global-llvm-constant.cpp | 26 struct X2 { struct 31 extern const X2 x2b; 32 const X2 x2b = { { { 1 }, { 2 }, { 3 } } };
|
H A D | static-init-3.cpp | 19 // CHECK: @_ZN2X1I2X2I1BEE8instanceE = weak_odr global %struct.X2* null, align 8 20 // CHECJ: @_ZN2X1I2X2I1AEE8instanceE = weak_odr global %struct.X2* null, align 8 26 template<typename T> struct X2 {}; struct 27 X2< B > bg = X1< X2< B > >::get(); 28 X2< A > ag = X1< X2< A > >::get();
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-non-dependent-types.cpp | 10 struct X2 { struct 14 X2<int> x;
|
H A D | temp_explicit_cxx0x.cpp | 14 template<typename T> struct X2 { }; // expected-note{{here}} struct 23 template struct X2<float>; // expected-error{{at global scope}}
|
H A D | canonical-expr-type.cpp | 45 struct X2 { struct
|
H A D | temp_class_order.cpp | 30 struct X2 { }; struct 33 struct X2<T*, U> { }; // expected-note{{matches}} struct 36 struct X2<T, U*> { }; // expected-note{{matches}} struct 39 struct X2<const T*, const U*> { }; struct 41 X2<int*, int*> x2a; // expected-error{{ambiguous}} 42 X2<const int*, const int*> x2b;
|
H A D | dependent-type-identity.cpp | 11 struct X2 { struct in namespace:N 58 void f6(typename N::X2<T>::template apply<U> *); // expected-note{{previous}} 59 void f6(typename N::X2<U>::template apply<U> *); 60 void f6(typename N::X2<U>::template apply<T> *); 61 void f6(typename ::N::X2<type>::template apply<U_type> *); // expected-error{{redeclar}} 63 void f7(typename N::X2<T>::template apply<U> *); // expected-note{{previous}} 64 void f7(typename N::X2<U>::template apply<U> *); 65 void f7(typename N::X2<U>::template apply<T> *); 66 void f7(typename X2<type>::template apply<U_type> *); // expected-error{{redeclar}} 68 void f8(typename N::X2< [all...] |
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
H A D | p9.cpp | 16 template<template<class> class X0 = X0> struct X2 { }; struct 17 template<> struct X2<X0> { static const bool value = true; }; struct 18 int array2[X2<>::value? 1 : -1];
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/ |
H A D | p1.cpp | 15 struct X2 { }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}} struct 22 X2& get_X2() { 23 return X0<X2>::value; // expected-note{{instantiation}}
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-cxx03-extra-copy.cpp | 14 struct X2 { struct 15 X2(); 18 X2(const X2&); // expected-note{{declared private here}} 50 void g2(const X2&); 57 g2(X2()); // expected-warning{{C++98 requires an accessible copy constructor for class 'X2' when binding a reference to a temporary; was private}}
|
H A D | p5-cxx0x-no-extra-copy.cpp | 13 struct X2 { struct 14 X2(); 17 X2(const X2&); 41 void g2(const X2&); 47 g2(X2());
|
/external/clang/test/CXX/except/except.spec/ |
H A D | p14-ir.cpp | 15 struct X2 : X1 { struct in inherits:X1 16 X2(); 28 void test(X2 x2, X3 x3, X5 x5) { 29 // CHECK: define linkonce_odr void @_ZN2X2C1ERKS_(%struct.X2* %this, %struct.X2*) unnamed_addr 33 X2 x2a(x2);
|
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/ |
H A D | p2.cpp | 36 struct X2 { struct in namespace:DependentSubstPartialOrdering 46 int check_X2[X<X2, void, void>::value == 2? 1 : -1];
|
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
H A D | p4.cpp | 13 struct X2 { struct 20 int array0[sizeof(X2<int>)]; 21 int array1[sizeof(X2<float>)]; // expected-note{{instantiation of}} 24 X2<int> xi; 26 X2<float> xf;
|
/external/clang/test/CXX/temp/temp.param/ |
H A D | p3.cpp | 21 template<class T, T i> struct X2 { struct
|
H A D | p9-0x.cpp | 14 struct X2; 36 struct X2 { struct in namespace:PR8748 41 template<typename T = int> void X2<T>::f0() { } // expected-error{{cannot add a default template argument to the definition of a member of a class template}} 42 template<typename T> template<typename U = int> void X2<T>::f1() { } // expected-error{{cannot add a default template argument to the definition of a member of a class template}}
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
H A D | p1.cpp | 56 struct X2 { struct 71 T X2<T, U>::static_member1 = 17; // expected-error{{cannot initialize}} 74 U X2<T, U>::static_member2; // expected-error{{no matching}} 76 template void X2<int, float>::f(int &, float); 77 template void X2<int, float>::f(int &, double); // expected-error{{does not refer}} 78 template void X2<int, int*>::f(int&, int*); // expected-note{{instantiation}} 80 template struct X2<int, float>::Inner; 81 template struct X2<int, Incomplete>::Inner; // expected-note{{instantiation}} 83 template int X2<int, float>::static_member1; 84 template int* X2<in [all...] |
H A D | p3-0x.cpp | 31 struct X2 {}; struct in namespace:has_inline_namespaces 34 template void f<X2>(X2&); 38 template struct X0<X2>::MemberClass; 40 template void X0<X2>::mem_func(); 42 template struct X0<X2>::MemberClassTemplate<X1>; 44 template void X0<X2>::mem_func_template(X1&); 46 template int X0<X2>::value;
|
H A D | p3.cpp | 24 struct X2 { // expected-note 4{{refers here}} struct 31 template struct X2<int>::Inner<float>; // expected-error{{explicit instantiation of undefined template}} 43 template struct X2<float>::InnerClass; // expected-error{{undefined member}} 47 template X2<int>::X2(); // expected-error{{not an instantiation}} 48 template X2<int>::X2(const X2&); // expected-error{{not an instantiation}} 49 template X2<int>::~X2(); // expecte [all...] |