Searched refs:X0 (Results 1 - 25 of 173) sorted by relevance

1234567

/external/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp10.cpp4 struct X0 { struct
13 void X0<T>::f(T& t) {
18 struct X0<T>::Inner {
23 T X0<T>::static_var = 1; // expected-error{{cannot initialize}}
25 extern template struct X0<void*>;
26 template struct X0<void*>; // expected-note 2{{instantiation}}
28 template struct X0<int>; // expected-note 4{{explicit instantiation definition is here}}
30 extern template void X0<int>::f(int&); // expected-error{{follows explicit instantiation definition}}
31 extern template struct X0<int>::Inner; // expected-error{{follows explicit instantiation definition}}
32 extern template int X0<in
[all...]
H A Dp7.cpp4 struct X0 { struct
17 T* X0<T>::static_member = ((T*)0) + 1; // expected-error{{pointer to the function}}
19 template class X0<int>; // okay
21 template class X0<int(int)>; // expected-note 3{{requested here}}
26 struct X0<int(long)>::MemberClass { };
30 int_long_func *X0<int_long_func>::f0(int_long_func *) { return 0; }
33 int_long_func *X0<int(long)>::static_member;
35 template class X0<int(long)>;
H A Dp4.cpp7 struct X0 { struct
15 template void X0<int>::f1(); // expected-error{{explicit instantiation of undefined member function}}
17 template int X0<int>::value; // expected-error{{explicit instantiation of undefined static data member}}
22 template<> void X0<long>::f1(); // expected-note{{previous template specialization is here}}
23 template void X0<long>::f1(); // expected-warning{{explicit instantiation of 'f1' that occurs after an explicit specialization will be ignored}}
25 template<> struct X0<long>::Inner; // expected-note{{previous template specialization is here}}
26 template struct X0<long>::Inner; // expected-warning{{explicit instantiation of 'Inner' that occurs after an explicit specialization will be ignored}}
28 template<> long X0<long>::value; // expected-note{{previous template specialization is here}}
29 template long X0<long>::value; // expected-warning{{explicit instantiation of 'value' that occurs after an explicit specialization will be ignored}}
31 template<> struct X0<doubl
[all...]
H A Dp3-0x.cpp14 struct X0 { struct in namespace:has_inline_namespaces::inner
29 template<typename T> int X0<T>::value = 17;
37 template struct X0<X1>;
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;
56 template struct has_inline_namespaces::X0<X3>; member in class:has_inline_namespaces
58 template struct has_inline_namespaces::X0<X
[all...]
H A Dp8.cpp4 struct X0 { struct
12 template class X0<int(int)>; // ok; nothing gets instantiated.
15 struct X0<T>::MemberClass {
20 T* X0<T>::f0(T* ptr) {
25 T* X0<T>::static_member = 0;
27 template class X0<int>; // ok
/external/clang/test/CXX/class/class.mem/
H A Dp14.cpp7 struct X0 { struct
8 int X0; // okay member in struct:X0
/external/clang/test/CXX/class.access/class.friend/
H A Dp2-cxx03.cpp3 class X0 { class
9 X0<X1> x0a;
10 X0<X1 *> x0b;
11 X0<int> x0c;
12 X0<E1> x0d;
/external/clang/test/CXX/over/over.match/over.match.funcs/
H A Dp4-0x.cpp8 struct X0 { struct
23 int &operator+(const X0&) &;
24 float &operator+(const X0&) &&;
35 void X0::g() {
37 int &ir2 = X0::f();
41 int &ir1 = lvalue<X0>().f();
42 float &fr1 = xvalue<X0>().f();
43 float &fr2 = prvalue<X0>().f();
44 int &ir2 = lvalue<X0>().ft(1);
45 float &fr3 = xvalue<X0>()
[all...]
/external/clang/test/SemaTemplate/
H A Dunused-variables.cpp3 struct X0 { struct
4 ~X0();
11 X0 x0;
21 template void g<X0, X1>(); // expected-note{{in instantiation of}}
H A Dtemp_explicit_cxx0x.cpp4 template<typename T> struct X0 { }; // expected-note{{here}} struct in namespace:N1
10 template struct X0<int>;
21 template struct X0<double>; // expected-error{{must occur in namespace 'N1'}}
/external/clang/test/CXX/temp/temp.param/
H A Dp1.cpp11 class X0 {}; // expected-note{{template is declared here}} class
12 X0<int> x0; // expected-error{{too few template arguments for class template 'X0'}}
H A Dp9.cpp13 struct X0 { struct
18 void X0<N>::f() { }
21 template<template<int> class TT = X0> // expected-error{{not permitted on a friend template}}
/external/clang/test/SemaCXX/
H A Dtype-formatting.cpp3 struct X0 { }; 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 *'}}
H A Dattr-regparm.cpp5 struct X0 { struct
12 void X0::f0() { }
13 void __attribute__((regparm(3))) X0::f1() { }
14 void __attribute__((regparm(2))) X0::f2() { } // expected-error{{function declared with regparm(2) attribute was previously declared with the regparm(3) attribute}}
15 void __attribute__((regparm(2))) X0::f3() { } // expected-error{{function declared with regparm(2) attribute was previously declared without the regparm attribute}}
H A Dstatic-array-member.cpp3 struct X0 { struct
10 int X0::array[sizeof(X0) * 2];
/external/clang/test/ASTMerge/Inputs/
H A Dclass-template1.cpp2 struct X0;
22 extern X0<int> *x0i;
23 extern X0<long> *x0l;
24 extern X0<float> *x0r;
27 struct X0<char> { struct
32 struct X0<wchar_t> { struct
H A Dclass-template2.cpp2 struct X0;
23 extern X0<Integer> *x0i;
24 extern X0<float> *x0f;
25 extern X0<double> *x0r;
28 struct X0<char> { struct
33 struct X0<wchar_t> { struct
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
H A Dp9.cpp6 template<typename T = T> struct X0 { }; struct
7 template<> struct X0<unsigned char> { static const bool value = true; }; struct
8 int array0[X0<>::value? 1 : -1];
17 template<template<class> class X0 = X0> struct X2 { };
18 template<> struct X2<X0> { static const bool value = true; };
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/
H A Dp1.cpp4 struct X0 { struct
9 T X0<T>::value = 0; // expected-error{{no viable conversion}}
17 int& get_int() { return X0<int>::value; }
18 X1& get_X1() { return X0<X1>::value; }
20 double*& get_double_ptr() { return X0<int*>::value; } // expected-error{{non-const lvalue reference to type 'double *' cannot bind to a value of unrelated type 'int *'}}
23 return X0<X2>::value; // expected-note{{instantiation}}
/external/clang/test/CXX/temp/temp.res/temp.local/
H A Dp1.cpp11 template <typename T> struct X0 { struct
12 X0();
13 ~X0();
14 X0 f(const X0&);
31 X0<int> x0; (void)x0;
/external/clang/test/CXX/special/class.ctor/
H A Dp1.cpp3 struct X0 { struct
6 X0();
7 X0(int);
8 (X0)(float);
9 X0 (f0)(int);
10 X0 (f0)(type);
12 X0 f1();
13 X0 f1(double);
16 X0::X0() { } function in class:X0
17 (X0::X0)(int) { } function in class:X0
[all...]
/external/clang/test/CXX/temp/temp.spec/
H A Dp5.cpp8 struct X0 { struct
17 T X0<T>::value = 3.14; // expected-warning{{implicit conversion from 'double' to 'int' changes value from 3.14 to 3}}
19 template struct X0<int>; // expected-note{{previous explicit instantiation}} \
21 template struct X0<int>; // expected-error{{duplicate explicit instantiation}}
23 template void X0<float>::f(float); // expected-note{{previous explicit instantiation}}
24 template void X0<float>::f(float); // expected-error{{duplicate explicit instantiation}}
26 template union X0<float>::Inner; // expected-note{{previous explicit instantiation}}
27 template union X0<float>::Inner; // expected-error{{duplicate explicit instantiation}}
29 template float X0<float>::value; // expected-note{{previous explicit instantiation}}
30 template float X0<floa
[all...]
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp2.cpp52 struct X0 { // expected-note 2{{here}} struct in namespace:N0
73 void N0::X0<T>::ft1(T t, U u) {
77 template<typename T> T N0::X0<T>::member;
79 template<> struct N0::X0<void> { }; // expected-warning{{C++11 extension}} struct in class:N0
80 N0::X0<void> test_X0;
83 template<> struct N0::X0<const void> { }; // expected-error{{not in a namespace enclosing 'N0'}} struct in class:N1::N0
87 template<> struct X0<volatile void>;
90 template<> struct N0::X0<volatile void> { struct in class:N0
95 template<> void N0::X0<void*>::f1(void *) { } // expected-warning{{member function specialization}}
97 void test_spec(N0::X0<voi
244 struct X0 { struct in namespace:PR8979
[all...]
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dp1-retmem.cpp7 struct X0 { struct
17 typename X0<T>::size_type X0<T>::f0() const {
22 typename X0<U>::value_type *X0<U>::f1() {
27 X1<typename X0<U>::value_type*> X0<U>::f2() {
/external/clang/test/CodeGenCXX/
H A Dattr-used.cpp4 struct X0 { struct
6 __attribute__((used)) X0() {} function in struct:X0
8 __attribute__((used)) ~X0() {}

Completed in 698 milliseconds

1234567