HomeSort by relevance Sort by last modified time
    Searched refs:X2 (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /external/clang/test/CXX/class/class.mem/
p14.cpp 17 struct X2 {
18 X2();
19 float X2; // expected-error{{member 'X2' has the same name as its class}}
p13.cpp 19 struct X2 {
20 typedef int X2; // expected-error{{member 'X2' has the same name as its class}}
  /external/openfst/src/include/fst/
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>::Member
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p3.cpp 24 struct X2 { // expected-note 4{{refers here}}
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(); // expected-error{{not an instantiation}
    [all...]
p3-0x.cpp 32 struct X2 {};
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;
p1.cpp 56 struct X2 {
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<int*, float>::static_member1; // expected-note{{instantiation}
    [all...]
  /external/clang/test/CodeGenCXX/
instantiate-temporaries.cpp 12 struct X2 {
29 (X2){};
global-llvm-constant.cpp 18 // CHECK: @x2 = constant
19 extern const X x2;
20 const X x2 = { &add }; variable
26 struct X2 {
31 extern const X2 x2b;
32 const X2 x2b = { { { 1 }, { 2 }, { 3 } } };
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 {};
27 X2< B > bg = X1< X2< B > >::get();
28 X2< A > ag = X1< X2< A > >::get();
attr-used.cpp 19 struct X2 {
  /external/clang/test/SemaTemplate/
instantiate-non-dependent-types.cpp 10 struct X2 {
14 X2<int> x;
temp_class_order.cpp 30 struct X2 { };
33 struct X2<T*, U> { }; // expected-note{{matches}}
36 struct X2<T, U*> { }; // expected-note{{matches}}
39 struct X2<const T*, const U*> { };
41 X2<int*, int*> x2a; // expected-error{{ambiguous}}
42 X2<const int*, const int*> x2b;
temp_explicit_cxx0x.cpp 14 template<typename T> struct X2 { }; // expected-note{{here}}
23 template struct X2<float>; // expected-error{{at global scope}}
partial-spec-instantiate.cpp 11 template <class T> struct X2 {};
14 struct X2<U*> {
20 void a(char *a, char *b) {X2<char*>::f();}
dependent-type-identity.cpp 11 struct X2 {
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<T>::template apply<U> *); // expected-note{{previous}
    [all...]
  /external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
p9.cpp 17 template<template<class> class X0 = X0> struct X2 { };
18 template<> struct X2<X0> { static const bool value = true; };
19 int array2[X2<>::value? 1 : -1];
  /external/clang/test/CXX/temp/temp.decls/temp.friend/
p4.cpp 13 struct X2 {
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/SemaCXX/
default-constructor-initializers.cpp 7 struct X2 : X1 { // expected-note 2 {{'X2' declared here}}
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}}
16 struct X4 { // expected-error {{must explicitly initialize the member 'x2'}} \
18 X2 x2; // expected-note {{member is declared here}} member in struct:X4
19 X2 & rx2; // expected-note {{declared here}}
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-cxx03-extra-copy.cpp 14 struct X2 {
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}}
p5-cxx0x-no-extra-copy.cpp 13 struct X2 {
14 X2();
17 X2(const X2&);
41 void g2(const X2&);
47 g2(X2());
  /external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/
p1.cpp 15 struct X2 { }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}}
22 X2& get_X2() {
23 return X0<X2>::value; // expected-note{{instantiation}}
  /external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/
p1.cpp 25 X<int> x2; // expected-warning {{'X' is deprecated}} variable
27 template <typename T> class [[deprecated]] X2 {};
28 template <> class X2<int> {};
29 X2<char> x3; // FIXME: no warning!
30 X2<int> x4;
  /external/clang/test/CXX/except/except.spec/
p14-ir.cpp 15 struct X2 : 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/
p7-0x.cpp 7 struct X2 {
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/
macro_fn_comma_swallow.c 10 #define X2(Y) fo2{A,##Y}
11 2: X2()

Completed in 763 milliseconds

1 2 3 4 5 6