Home
last modified time | relevance | path

Searched defs:X0 (Results 1 – 25 of 146) sorted by relevance

123456

/llvm-project/clang/test/ASTMerge/class-template/Inputs/
H A Dclass-template1.cpp2 struct X0 { struct
24 extern X0<int> *x0i; argument
29 struct X0<char> { struct
35 struct X0<wchar_t> { argument
36 int member;
H A Dclass-template2.cpp2 struct X0 { struct
30 struct X0<char> { struct
35 struct X0<wchar_t> { struct
36 float member;
/llvm-project/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp3-0x.cpp14 struct X0 { struct
15 struct MemberClass {};
17 void mem_func() {} in mem_func()
20 struct MemberClassTemplate {};
23 void mem_func_template(U&) {} in mem_func_template()
25 static int value;
37 template struct X0<X1>; variable
56 template struct has_inline_namespaces::X0<X3>; member in has_inline_namespaces
H A Dp7.cpp4 struct X0 { struct
17 T* X0<T>::static_member = ((T*)0) + 1; // expected-error{{pointer to the function}} argument
19 template class X0<int>; // okay variable
21 template class X0<int(int)>; // expected-note 3{{requested here}} variable
35 template class X0<int(long)>; variable
H A Dp10.cpp4 struct X0 { struct
13 void X0<T>::f(T& t) { in f() argument
26 template struct X0<void*>; // expected-note 2{{instantiation}} variable
28 template struct X0<int>; // expected-note 4{{explicit instantiation definition is here}} variable
H A Dp8.cpp4 struct X0 { struct
12 template class X0<int(int)>; // ok; nothing gets instantiated. argument
27 template class X0<int>; // ok variable
H A Dp2.cpp19 struct X0 { struct
26 T X0<T>::value = 17; argument
/llvm-project/clang/test/SemaObjCXX/
H A Darc-memfunc.mm4 struct X0 { struct
9 void test_X0(X0 x0, X0 *x0p) { argument
/llvm-project/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/
H A Dp14.cpp22 struct X0 { struct
23 typedef identity<T(Types...)> function_pack_1;
24 …unction_pack_1; // expected-warning {{varargs}} expected-note {{pack}} expected-note {{insert ','}}
25 typedef identity<T(T...)> variadic_1;
26 typedef tuple<T(Types, ...)...> template_arg_expansion_1;
/llvm-project/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 valu… argument
19 template struct X0<int>; // expected-note{{previous explicit instantiation}} \ variable
21 template struct X0<int>; // expected-error{{duplicate explicit instantiation}} variable
/llvm-project/clang/test/SemaTemplate/
H A Dvalue-dependent-null-pointer-constant.cpp6 struct X0 { struct
7 const char *f0(bool Cond) { in f0()
16 const char *f1(bool Cond) { in f1()
23 bool f2(const char *str) { in f2()
H A Dcurrent-instantiation.cpp12 struct X0 { struct
17 void f0(typename X0::U_type&); argument
36 void g0(typename X0::U_type&); argument
75 struct X0<T*, U*> { struct
82 void f0(typename X0::U_type&); argument
109 void g0(typename X0::U_type&); argument
205 class X0 { class
H A Dexplicit-instantiation.cpp11 struct X0 { struct
24 T X0<T>::value; // expected-error{{no matching constructor}} argument
82 template <int I> struct X0 { static int x; }; argument
85 template struct X0<1>; variable
H A Dext-vector-type.cpp66 struct X0<T __attribute__((ext_vector_type(N)))> { struct
67 static const unsigned value = 0;
71 struct X0<T __attribute__((ext_vector_type(4)))> { struct
72 static const unsigned value = 1;
76 struct X0<float __attribute__((ext_vector_type(N)))> { struct
77 static const unsigned value = 2;
81 struct X0<float __attribute__((ext_vector_type(4)))> { struct
82 static const unsigned value = 3;
H A Dtemp_explicit.cpp14 template class X0<int, float>; variable
31 template<> class X0<char> { }; // expected-note{{previous}} variable
34 void foo(X0<short>) { } variable
6 template<typename T, typename U = T> class X0 { }; global() class
13 template class X0<int, float>; global() variable
24 template class X0<double> { }; // expected-error{{explicit specialization}} global() variable
28 template class X0<int, int>; // expected-error{{duplicate}} global() variable
30 template<> class X0<char> { }; // expected-note{{previous}} global() class
H A Dtemp_explicit_cxx0x.cpp4 template<typename T> struct X0 { }; // expected-note{{here}} struct
10 template struct X0<int>; variable
21 template struct X0<double>; // expected-error{{must occur in namespace 'N1'}} variable
/llvm-project/clang/test/SemaCXX/
H A Dstatic-array-member.cpp3 struct X0 { struct
10 int X0::array[sizeof(X0) * 2]; argument
/llvm-project/clang/test/CodeGenCXX/
H A Dattr-used.cpp4 struct X0 { struct
6 __attribute__((used)) X0() {} in X0() argument
8 __attribute__((used)) ~X0() {} in ~X0() argument
H A Dattr-retain.cpp12 struct X0 { struct
14 __attribute__((used, retain)) X0() {} in X0() function
16 __attribute__((used, retain)) ~X0() {} in ~X0() argument
/llvm-project/clang/test/CXX/special/class.ctor/
H A Dp1.cpp3 struct X0 { struct
6 X0(); argument
16 X0::X0() { } in X0() function in X0
19 X0 (X0::f0)(int) { return X0(); } in X0() function
/llvm-project/clang/test/CXX/class/class.mem/
H A Dp14.cpp7 struct X0 { struct
8 int X0; // okay argument
/llvm-project/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 { in f0() argument
/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dinjected-class-name.cpp8 struct X0 { struct
16 void X0<T, Types...>::f0(T) { } in f0() argument
22 struct X0<T, T, Types...> { struct
31 typename X0<T, T, Types...>::result X0<T, T, Types...>::f3() { return 0; } in f3() argument
/llvm-project/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp1.cpp30 struct X0 { struct
48 void X0<T>::ft1(T t, U u) { in ft1() argument
54 template<> struct X0<void> { }; struct
H A Dp6.cpp4 struct X0 { struct
16 int &use_X0_int(X0<int> x0i, // expected-note{{implicit instantiation first required here}} in use_X0_int() argument
39 struct X0<int> { }; // expected-error{{after instantiation}} struct

123456