Searched defs:X2 (Results 1 - 25 of 94) sorted by relevance

1234

/external/clang/test/CXX/class/class.mem/
H A Dp14.cpp17 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 Dp13.cpp19 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 Dp13.cpp38 struct X2 { struct
/external/clang/test/Preprocessor/
H A Dmacro_fn_comma_swallow.c10 #define X2(Y) fo2{A,##Y} macro
11 2: X2()
/external/clang/test/CodeGenCXX/
H A Dinstantiate-temporaries.cpp12 struct X2 { struct
29 (X2){};
H A Dattr-used.cpp19 struct X2 { struct
/external/clang/test/SemaTemplate/
H A Dinstantiate-non-dependent-types.cpp10 struct X2 { struct
14 X2<int> x;
H A Dtemp_explicit_cxx0x.cpp14 template<typename T> struct X2 { }; // expected-note{{here}} struct
23 template struct X2<float>; // expected-error{{at global scope}}
H A Dcanonical-expr-type.cpp41 struct X2 { struct
H A Dtemp_class_order.cpp30 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;
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
H A Dp9.cpp17 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/special/class.ctor/
H A Dp1.cpp45 class X2 { class
46 X2::X2(); // expected-error {{extra qualification on member 'X2'}}
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/
H A Dp1.cpp15 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/Parser/
H A Dcxx11-brace-initializers.cpp13 S X2 = {1, 1,}; local
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-cxx03-extra-copy.cpp14 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 Dp5-cxx0x-no-extra-copy.cpp13 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 Dp14-ir.cpp15 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 Dp7-0x.cpp7 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/CXX/temp/temp.decls/temp.class.spec/temp.class.order/
H A Dp2.cpp37 struct X2 { struct in namespace:DependentSubstPartialOrdering
47 int check_X2[X<X2, void, void>::value == 2? 1 : -1];
/external/clang/test/CXX/temp/temp.decls/temp.friend/
H A Dp4.cpp13 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 Dp3.cpp21 template<class T, T i> struct X2 { struct
H A Dp9-0x.cpp14 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 Dp1.cpp56 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 Dp3-0x.cpp32 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 Dp3.cpp24 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...]

Completed in 4811 milliseconds

1234