Searched defs:add_pointer (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/SemaTemplate/
H A Dinstantiate-typedef.cpp4 struct add_pointer { struct
8 add_pointer<int>::type test1(int * ptr) { return ptr; }
10 add_pointer<float>::type test2(int * ptr) {
11 return ptr; // expected-error{{cannot initialize return object of type 'add_pointer<float>::type' (aka 'float *') with an lvalue of type 'int *'}}
14 add_pointer<int&>::type // expected-note{{in instantiation of template class 'add_pointer<int &>' requested here}}
H A Dmetafun-apply.cpp3 struct add_pointer { struct
30 apply1<add_pointer, int>::type ip = &i;
H A Dtypename-specifier-2.cpp8 struct add_pointer { struct
20 bind_metafun<add_pointer, int>::type::type ip = &i;
21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variable of type 'bind_metafun<add_pointer, float>::type::type' (aka 'float *') with an rvalue of type 'int *'}}
30 extract_type_type<bind_metafun<add_pointer, double> >::t dp = &d;
H A Dinstantiate-template-template-parm.cpp8 struct add_pointer { struct
18 apply<add_pointer, int>::type ip = &i;
H A Ddefault-arguments.cpp101 struct add_pointer { struct
110 int array4[is_same<X4<add_pointer>,
111 X4<add_pointer, add_pointer::apply> >::value? 1 : -1];
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmetafunctions.cpp182 struct add_pointer { struct in namespace:TemplateTemplateApply
192 add_reference, add_pointer, add_const>::type,
200 int check1[is_same<apply_each_indirect<int, add_reference, add_pointer,

Completed in 105 milliseconds