Searched defs:X0 (Results 26 - 50 of 152) sorted by relevance

1234567

/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;
H A Dp3.cpp7 struct X0 { }; struct
13 void g(X0 *t) {
17 // expected-error{{no member named 'f' in 'X0'}} \
/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.explicit/
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 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
H A Dp1.cpp6 struct X0 { struct
11 template struct X0<int>;
12 template struct X0<void>; // expected-note{{instantiation}}
H A Dp2.cpp17 struct X0 { struct
24 T X0<T>::value = 17;
26 typedef X0<int> XInt;
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 Dp9-linkage.cpp4 struct X0 { struct
17 inline void X0<T>::g(T & t) {
22 void X0<T>::h(T & t) {
27 T X0<T>::static_var = 0;
29 extern template struct X0<int*>;
31 int *&test(X0<int*> xi, int *ip) {
38 return X0<int*>::static_var;
H A Dp9.cpp4 struct X0 { struct
17 inline void X0<T>::g(T & t) {
22 void X0<T>::h(T & t) {
27 T X0<T>::static_var = 1;
29 extern template struct X0<int*>;
31 int *&test(X0<int*> xi, int *ip) {
35 return X0<int*>::static_var;
/external/clang/test/SemaTemplate/
H A Dinstantiate-call.cpp4 struct X0 { }; struct in namespace:N1
6 int& f0(X0);
21 template struct N2::call_f0<N1::X0, int&>;
34 template struct N3::call_f0<N1::X0, int&>;
47 template struct N4::call_f0<N1::X0, int&>;
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 Dvalue-dependent-null-pointer-constant.cpp4 struct X0 { struct
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dp1.cpp3 class X0 { class
7 X0(int);
8 ~X0();
25 void X0<T, U>::f0(const T&, const U&) { // expected-note{{previous definition}}
29 X& X0<X, Y>::operator[](int i) const {
35 void X0<X, Y>::f1(int) const { }
38 void X0<X, Y>::f2(size_type) const { }
41 void X0<X, Y>::f3(size_type) const {
45 void X0<Y, X>::f4() { } // expected-error{{does not refer}}
47 // FIXME: error message should probably say, "redefinition of 'X0<
55 X0<T, U>::X0(int x) : value(x) { } function in class:X0
[all...]
/external/clang/test/CodeGenCXX/
H A Dtemplate-linkage.cpp29 struct X0 { struct
30 virtual ~X0() { }
34 struct X1 : X0<T> {
40 extern template struct X0<char>;
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/
H A Dp6.cpp19 struct X0 { struct
29 void X0<T>::f(int = 17) { } // expected-error{{cannot be added}}
33 void X0<T>::Inner::g(int = 17) { } // expected-error{{cannot be added}}
/external/clang/test/CXX/except/except.spec/
H A Dp14-ir.cpp4 struct X0 { struct
5 X0();
6 X0(const X0 &) throw();
7 X0(X0 &);
18 struct X3 : X0, X1 {
26 struct X5 : X0, X4 { };
/external/clang/test/CXX/expr/expr.mptr.oper/
H A Dp5.cpp3 struct X0 { struct
10 void test_object_cvquals(void (X0::*pm)(), argument
11 void (X0::*pmc)() const,
12 void (X0::*pmv)() volatile,
13 void (X0::*pmcv)() const volatile,
14 X0 *p,
15 const X0 *pc,
16 volatile X0 *pv,
17 const volatile X0 *pcv,
18 X0
[all...]
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp10.cpp11 class X0 { class
16 virtual X0& Overload(float);
/external/clang/test/CXX/expr/expr.unary/expr.new/
H A Dp19.cpp6 struct X0 { struct
7 X0();
21 ::new X0<2>;
23 new X0<3>; // expected-note 2{{instantiation}}
/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/CXX/temp/temp.arg/temp.arg.template/
H A Dp3-0x.cpp20 template<template <int ...N> class TT> struct X0 { }; // expected-note{{previous non-type template parameter with type 'int' is here}} struct
25 X0<X0a> inst_x0a;
26 X0<X0b> inst_x0b;
27 X0<X0c> inst_x0c; // expected-error{{template template argument has different template parameters than its corresponding template template parameter}}
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dinjected-class-name.cpp8 struct X0 { struct
16 void X0<T, Types...>::f0(T) { }
19 typename X0<T, Types...>::type X0<T, Types...>::f1(T) { }
22 struct X0<T, T, Types...> { struct
31 typename X0<T, T, Types...>::result X0<T, T, Types...>::f3() { return 0; }
35 struct X0<T, T, Types...>::Inner {
42 void X0<T, T, Types...>::Inner<InnerTypes...>::f4() { }
/external/clang/test/CXX/temp/temp.param/
H A Dp3.cpp6 template<typename T> struct X0 { struct
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp6.cpp4 struct X0 { struct
16 int &use_X0_int(X0<int> x0i, // expected-note{{implicit instantiation first required here}}
20 X0<int>::Nested nested; // expected-note{{implicit instantiation first required here}}
21 return X0<int>::member; // expected-note{{implicit instantiation first required here}}
25 void X0<int>::f() { // expected-error{{after instantiation}}
29 void X0<int>::g(int) { // expected-error{{after instantiation}}
33 struct X0<int>::Nested { }; // expected-error{{after instantiation}}
36 int X0<int>::member = 17; // expected-error{{after instantiation}}
39 struct X0<int> { }; // expected-error{{after instantiation}} struct

Completed in 304 milliseconds

1234567