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

1 2 3 4 5 6 7

  /external/clang/test/CodeGenCXX/
attr-used.cpp 4 struct X0 {
6 __attribute__((used)) X0() {}
8 __attribute__((used)) ~X0() {}
  /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 13 struct X0 {
28 template<typename T> int X0<T>::value = 17;
36 template struct X0<X1>;
38 template struct X0<X2>::MemberClass;
40 template void X0<X2>::mem_func();
42 template struct X0<X2>::MemberClassTemplate<X1>;
44 template void X0<X2>::mem_func_template(X1&);
46 template int X0<X2>::value;
55 template struct has_inline_namespaces::X0<X3>;
57 template struct has_inline_namespaces::X0<X4>::MemberClass
    [all...]
p8.cpp 4 struct X0 {
12 template class X0<int>; // okay
13 template class X0<int(int)>; // okay; nothing gets instantiated.
16 struct X0<T>::MemberClass {
21 T* X0<T>::f0(T* ptr) {
26 T* X0<T>::static_member = 0;
  /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/Analysis/
operator-calls.cpp 2 struct X0 { };
3 bool operator==(const X0&, const X0&);
14 bool PR7287(X0 a, X0 b) {
  /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 with regparm(2) attribute was previously declared with the regparm(3) attribute}}
15 void __attribute__((regparm(2))) X0::f3() { } // expected-error{{function declared with 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 5 template<typename T = T> struct X0 { };
6 template<> struct X0<unsigned char> { static const bool value = true; };
7 int array0[X0<>::value? 1 : -1];
16 template<template<class> class X0 = X0> struct X2 { };
17 template<> struct X2<X0> { static const bool value = true; };
  /external/clang/test/CXX/temp/temp.res/temp.local/
p1.cpp 10 template <typename T> struct X0 {
11 X0();
12 ~X0();
13 X0 f(const X0&);
30 X0<int> x0; (void)x0; local
  /external/clang/test/CXX/special/class.ctor/
p1.cpp 2 struct X0 {
5 X0();
6 X0(int);
7 (X0)(float);
8 X0 (f0)(int);
9 X0 (f0)(type);
11 X0 f1();
12 X0 f1(double);
15 X0::X0() { }
    [all...]
  /external/clang/test/CXX/temp/temp.spec/
p5.cpp 8 struct X0 {
17 T X0<T>::value = 3.14;
19 template struct X0<int>; // expected-note{{previous explicit instantiation}}
20 template struct X0<int>; // expected-error{{duplicate explicit instantiation}}
22 template void X0<float>::f(float); // expected-note{{previous explicit instantiation}}
23 template void X0<float>::f(float); // expected-error{{duplicate explicit instantiation}}
25 template union X0<float>::Inner; // expected-note{{previous explicit instantiation}}
26 template union X0<float>::Inner; // expected-error{{duplicate explicit instantiation}}
28 template float X0<float>::value; // expected-note{{previous explicit instantiation}}
29 template float X0<float>::value; // expected-error{{duplicate explicit instantiation}
    [all...]
  /external/clang/test/CXX/over/over.match/over.match.funcs/
p4-0x.cpp 7 struct X0 {
22 int &operator+(const X0&) &;
23 float &operator+(const X0&) &&;
34 void X0::g() {
36 int &ir2 = X0::f();
40 int &ir1 = lvalue<X0>().f();
41 float &fr1 = xvalue<X0>().f();
42 float &fr2 = prvalue<X0>().f();
43 int &ir2 = lvalue<X0>().ft(1);
44 float &fr3 = xvalue<X0>().ft(2)
    [all...]
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p2.cpp 51 struct X0 { // expected-note 2{{here}}
72 void N0::X0<T>::ft1(T t, U u) {
76 template<typename T> T N0::X0<T>::member;
78 template<> struct N0::X0<void> { }; // expected-warning{{originally}}
79 N0::X0<void> test_X0;
82 template<> struct N0::X0<const void> { }; // expected-error{{originally}}
86 template<> struct X0<volatile void>;
89 template<> struct N0::X0<volatile void> {
94 template<> void N0::X0<void*>::f1(void *) { } // expected-warning{{member function specialization}}
96 void test_spec(N0::X0<void*> xvp, void *vp)
    [all...]
  /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/basic/basic.lookup/basic.lookup.qual/class.qual/
p2.cpp 2 struct X0 {
3 X0 f1();
4 X0 f2();
21 X0::X0 X0::f1() { return X0(); } // expected-error{{qualified reference to 'X0' is a constructor name rather than a type wherever a constructor can be declared}}
23 struct X0::X0 X0::f2() { return X0();
    [all...]

Completed in 517 milliseconds

1 2 3 4 5 6 7