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

1 2 3 4 5 6 7 8

  /external/clang/test/CXX/temp/temp.spec/temp.explicit/
p10.cpp 4 struct X0 {
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<int>::static_var; // expected-error{{follows explicit instantiation definition}
    [all...]
p4.cpp 7 struct X0 {
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<double>; // expected-note{{previous template specialization is here}
    [all...]
p7.cpp 4 struct X0 {
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)>;
p3-0x.cpp 14 struct X0 {
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>;
58 template struct has_inline_namespaces::X0<X4>::MemberClass
    [all...]
  /external/clang/test/CXX/class/class.mem/
p14.cpp 7 struct X0 {
8 int X0; // okay
p13.cpp 7 struct X0 {
8 static int X0; // expected-error{{member 'X0' has the same name as its class}}
  /external/clang/test/CXX/class.access/class.friend/
p2-cxx03.cpp 3 class X0 {
9 X0<X1> x0a;
10 X0<X1 *> x0b;
11 X0<int> x0c;
12 X0<E1> x0d;
  /external/clang/test/CXX/temp/temp.param/
p1.cpp 11 class X0 {}; // expected-note{{template is declared here}}
12 X0<int> x0; // expected-error{{too few template arguments for class template 'X0'}} variable
p9.cpp 13 struct X0 {
18 void X0<N>::f() { }
21 template<template<int> class TT = X0> // expected-error{{not permitted on a friend template}}
  /external/clang/test/SemaCXX/
type-formatting.cpp 3 struct X0 { };
8 const T *t = (const X0*)0; // expected-error{{cannot initialize a variable of type 'const X1 *' with an rvalue of type 'const X0 *'}}
attr-regparm.cpp 5 struct X0 {
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}}
  /external/clang/test/ASTMerge/Inputs/
class-template1.cpp 2 struct X0;
22 extern X0<int> *x0i;
23 extern X0<long> *x0l;
24 extern X0<float> *x0r;
27 struct X0<char> {
32 struct X0<wchar_t> {
class-template2.cpp 2 struct X0;
23 extern X0<Integer> *x0i;
24 extern X0<float> *x0f;
25 extern X0<double> *x0r;
28 struct X0<char> {
33 struct X0<wchar_t> {
  /external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
p9.cpp 6 template<typename T = T> struct X0 { };
7 template<> struct X0<unsigned char> { static const bool value = true; };
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.res/temp.local/
p1.cpp 11 template <typename T> struct X0 {
12 X0();
13 ~X0();
14 X0 f(const X0&);
31 X0<int> x0; (void)x0; local
  /external/clang/test/CXX/temp/temp.spec/
p5.cpp 8 struct X0 {
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<float>::value; // expected-error{{duplicate explicit instantiation}
    [all...]
  /external/clang/test/CXX/over/over.match/over.match.funcs/
p4-0x.cpp 8 struct X0 {
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>().ft(2)
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p2.cpp 52 struct X0 { // expected-note 2{{here}}
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}}
80 N0::X0<void> test_X0;
83 template<> struct N0::X0<const void> { }; // expected-error{{not in a namespace enclosing 'N0'}}
87 template<> struct X0<volatile void>;
90 template<> struct N0::X0<volatile void> {
95 template<> void N0::X0<void*>::f1(void *) { } // expected-warning{{member function specialization}}
97 void test_spec(N0::X0<void*> xvp, void *vp)
    [all...]
p2-0x.cpp 53 struct X0 { // expected-note {{here}}
74 void N0::X0<T>::ft1(T t, U u) {
78 template<typename T> T N0::X0<T>::member;
80 template<> struct N0::X0<void> { };
81 N0::X0<void> test_X0;
84 template<> struct N0::X0<const void> { }; // expected-error{{class template specialization of 'X0' not in a namespace enclosing 'N0'}}
88 template<> struct X0<volatile void>;
91 template<> struct N0::X0<volatile void> {
134 template<> void N0::X0<void*>::f1(void *) {
    [all...]
  /external/clang/test/CodeGenCXX/
attr-used.cpp 4 struct X0 {
6 __attribute__((used)) X0() {}
8 __attribute__((used)) ~X0() {}
  /external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/
p1.cpp 4 struct X0 {
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/except/except.spec/
p14-ir.cpp 4 struct X0 {
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.unary/expr.new/
p19.cpp 6 struct X0 {
7 X0();
21 ::new X0<2>;
23 new X0<3>; // expected-note 2{{instantiation}}
  /external/clang/test/SemaTemplate/
unused-variables.cpp 3 struct X0 {
4 ~X0();
11 X0 x0; local
21 template void g<X0, X1>(); // expected-note{{in instantiation of}}
  /external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
p1-retmem.cpp 7 struct X0 {
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() {

Completed in 878 milliseconds

1 2 3 4 5 6 7 8