/external/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
H A D | p8-0x.cpp | 3 template<int ...Values> struct X1; 6 struct X1<0, Values+1 ...>; // expected-error{{non-type template argument depends on a template parameter of the partial specialization}}
|
H A D | p9-0x.cpp | 7 struct X1; 10 struct X1<T, Types...> // expected-error{{class template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}} struct
|
/external/clang/test/CXX/class/class.mem/ |
H A D | p14.cpp | 11 struct X1 { struct 12 int X1; // expected-note{{hidden by a non-type declaration of 'X1' here}} member in struct:X1 13 X1(); // expected-error{{must use 'struct' tag to refer to type 'X1' in this scope}} \
|
H A D | p13.cpp | 15 struct X1 { // expected-note{{previous use is here}} struct 16 enum X1 { }; // expected-error{{use of 'X1' with tag type that does not match previous declaration}} enum in struct:X1
|
/external/clang/test/CXX/special/class.ctor/ |
H A D | p1.cpp | 22 struct X1 { struct 25 X1<T>(); 26 X1<T>(int); 27 (X1<T>)(float); 28 X1(float, float); 29 (X1)(double); 30 X1<T> (f0)(int); 31 X1<T> (f0)(type); 32 X1 (f1)(int); 33 X1 (f 40 template<typename T> X1<T>::X1() { } function in class:X1 41 template<typename T> (X1<T>::X1)(double) { } function [all...] |
/external/clang/test/CXX/temp/temp.res/temp.local/ |
H A D | p1.cpp | 18 template <int N1, const int& N2, const int* N3> struct X1 { struct 19 X1(); 20 ~X1(); 21 X1 f(const X1& x1a) { X1 x1b(x1a); return x1b; } 32 X1<42, i, &i> x1; (void)x1;
|
/external/clang/test/SemaCXX/ |
H A D | type-formatting.cpp | 4 struct X1 { }; struct 8 const T *t = (const X0*)0; // expected-error{{cannot initialize a variable of type 'const X1 *' with an rvalue of type 'const X0 *'}} 10 template void f0<X1>(); // expected-note{{instantiation of}}
|
H A D | accessible-base.cpp | 7 struct X1 : virtual A struct in inherits:A 10 struct Y1 : X1, virtual A 13 struct Y2 : X1, A // expected-warning{{direct base 'A' is inaccessible due to ambiguity:\n struct Y2 -> struct X1 -> struct A\n struct Y2 -> struct A}}
|
H A D | static-array-member.cpp | 13 struct X1 { struct 18 T X1<T, N>::array[N];
|
/external/clang/test/CXX/class.access/class.friend/ |
H A D | p2-cxx03.cpp | 7 class X1 { }; class 9 X0<X1> x0a; 10 X0<X1 *> x0b;
|
/external/clang/test/SemaTemplate/ |
H A D | temp_explicit_cxx0x.cpp | 7 template<typename T> struct X1 { }; struct in namespace:N1::Inner 11 template struct Inner::X1<int>; member in class:N1::Inner 16 template struct ::N1::Inner::X1<float>; member in class:N1::Inner
|
H A D | unused-variables.cpp | 7 struct X1 { }; struct 12 X1 x1; // expected-warning{{unused variable 'x1'}} 21 template void g<X0, X1>(); // expected-note{{in instantiation of}}
|
H A D | temp_class_order.cpp | 4 struct X1 { struct 9 struct X1<T*, U*> { struct 14 struct X1<T*, T*> { struct 19 struct X1<const T*, const T*> { struct 23 int array0[X1<int, int>::value == 0? 1 : -1]; 24 int array1[X1<int*, float*>::value == 1? 1 : -1]; 25 int array2[X1<int*, int*>::value == 2? 1 : -1]; 27 int array3[X1<const int*, CIP>::value == 3? 1 : -1];
|
/external/openfst/src/include/fst/ |
H A D | expectation-weight.h | 41 // X1 is usually a probability weight like LogWeight 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, X [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.new/ |
H A D | p19.cpp | 28 struct X1 { struct 29 X1(); 43 ::new X1<2> [17]; 45 new X1<3> [17]; // expected-note 2{{instantiation}}
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/ |
H A D | p1.cpp | 11 struct X1 { struct 12 X1(int); 18 X1& get_X1() { return X0<X1>::value; }
|
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/ |
H A D | p2.cpp | 9 struct X1 { struct 10 X1<T>(int); 11 (X1<T>)(float); 12 X1 f2(); 13 X1 f2(int); 14 X1 f2(float); 18 template<typename T> X1<T>::X1<T>(int) { } // expected-error{{out-of-line constructor for 'X1' cannot have template arguments}} function in class:X1 19 template<typename T> (X1< function [all...] |
/external/clang/test/CXX/except/except.spec/ |
H A D | p14-ir.cpp | 10 struct X1 { struct 11 X1(); 12 X1(const X1 &) throw(); 15 struct X2 : X1 { 18 struct X3 : X0, X1 {
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
H A D | p16.cpp | 4 template<class X1> void g1(T, X1); 13 template<class T> template<class X1> void A<T>::g1(T, X1) { } 16 template<> template<class X1> void A<int>::g1(int, X1); 20 void A<int>::g1(int, char); // X1 deduced as char
|
/external/clang/test/CXX/temp/temp.spec/temp.explicit/ |
H A D | p8.cpp | 31 struct X1 { struct 36 template struct X1<int>; // expected-note {{here}} 38 extern template struct X1<char>; // ok 40 template struct X1<char>; // expected-note {{here}}
|
H A D | p3.cpp | 13 template<typename> struct X1; // expected-note 5{{declared here}} 16 template void X1<int>::f0<int>(int); // expected-error {{implicit instantiation of undefined template}} 21 template struct X1<float>; // expected-error{{explicit instantiation of undefined template}} 36 template void X1<int>::f1(int); // expected-error {{undefined template}} 37 template void X1<int>::f1<int>(int); // expected-error {{undefined template}} 39 template int X1<int>::member; // expected-error {{undefined template}}
|
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
H A D | p9.cpp | 12 template<int N = N> struct X1 { }; struct 13 template<> struct X1<17> { static const bool value = true; }; struct 14 int array1[X1<>::value? 1 : -1];
|
/external/clang/test/CodeGenCXX/ |
H A D | static-init-3.cpp | 7 struct X1 struct 21 template<class T> T & X1<T>::instance = X1<T>::get(); 27 X2< B > bg = X1< X2< B > >::get(); 28 X2< A > ag = X1< X2< A > >::get();
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-cxx03-extra-copy.cpp | 9 struct X1 { struct 10 X1(); 11 explicit X1(const X1&); 49 void g1(const X1&); 56 g1(X1());
|
H A D | p5-cxx0x-no-extra-copy.cpp | 8 struct X1 { struct 9 X1(); 10 explicit X1(const X1&); 40 void g1(const X1&); 46 g1(X1());
|