/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/temp/temp.spec/temp.explicit/ |
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...] |
H A D | p3-0x.cpp | 32 struct X2 {}; struct in namespace:has_inline_namespaces 35 template void f<X2>(X2&); 39 template struct X0<X2>::MemberClass; 41 template void X0<X2>::mem_func(); 43 template struct X0<X2>::MemberClassTemplate<X1>; 45 template void X0<X2>::mem_func_template(X1&); 47 template int X0<X2>::value;
|
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...] |
/external/clang/test/SemaTemplate/ |
H A D | instantiate-non-dependent-types.cpp | 10 struct X2 { struct 14 X2<int> x;
|
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 | 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 | default-arguments.cpp | 49 struct X2 { struct 72 X2<int> x2i; // expected-note{{in instantiation of template class 'X2<int>' requested here}} 73 X2<int>::Inner1<float> x2iif; 75 X2<int>::Inner1<> x2bad; // expected-error{{too few template arguments for class template 'Inner1'}} 77 X2<int>::NonType1<'a'> x2_nontype1; 78 X2<int>::NonType1<> x2_nontype1_bad; // expected-error{{too few template arguments for class template 'NonType1'}} 81 X2<int>::Inner3<float>::VeryInner<> vi; 82 X2<char>::Inner3<int>::NonType2<> x2_deep_nontype; // expected-note{{in instantiation of template class 'X2<cha [all...] |
H A D | partial-spec-instantiate.cpp | 11 template <class T> struct X2 {}; struct 14 struct X2<U*> { struct 20 void a(char *a, char *b) {X2<char*>::f();}
|
/external/openfst/src/include/fst/ |
H A D | expectation-weight.h | 42 // X2 is usually a random variable or vector 45 // If X1 is distinct from X2, it is required that there is an external 46 // product between X1 and X2 and if both semriring are commutative, or 48 template <class X1, class X2> 49 class ExpectationWeight : public PairWeight<X1, X2> { 51 using PairWeight<X1, X2>::Value1; 52 using PairWeight<X1, X2>::Value2; 54 using PairWeight<X1, X2>::Reverse; 55 using PairWeight<X1, X2>::Quantize; 56 using PairWeight<X1, X2> [all...] |
/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/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 = linkonce_odr global %struct.X2* null, align 8 20 // CHECJ: @_ZN2X1I2X2I1AEE8instanceE = linkonce_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/CXX/basic/basic.scope/basic.scope.pdecl/ |
H A D | p9.cpp | 17 template<template<class> class X0 = X0> struct X2 { }; struct 18 template<> struct X2<X0> { static const bool value = true; }; struct 19 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/SemaCXX/ |
H A D | default-constructor-initializers.cpp | 7 struct X2 : X1 { // expected-note 2 {{'X2' declared here}} struct in inherits:X1 8 X2(int); 11 struct X3 : public X2 { // expected-error {{implicit default constructor for 'X3' must explicitly initialize the base class 'X2' which does not have a default constructor}} 18 X2 x2; // expected-note {{member is declared here}} 19 X2 & rx2; // expected-note {{declared here}}
|
/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/dcl.dcl/dcl.attr/dcl.attr.deprecated/ |
H A D | p1.cpp | 27 template <typename T> class [[deprecated]] X2 {}; class 28 template <> class X2<int> {}; class 29 X2<char> x3; // FIXME: no warning! 30 X2<int> x4;
|
/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* nonnull) unnamed_addr 33 X2 x2a(x2);
|
/external/clang/test/CXX/expr/expr.post/expr.call/ |
H A D | p7-0x.cpp | 7 struct X2 { struct 8 X2(); 9 ~X2(); 25 void f(X1 x1, X2 x2, X3 x3, X4 x4) { 27 vararg(x2); // expected-error{{cannot pass object of non-trivial type 'X2' through variadic function; call will abort at runtime}}
|
/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/temp/temp.param/ |
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}}
|