Searched refs:add_pointer (Results 1 - 9 of 9) 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 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 Dmetafun-apply.cpp3 struct add_pointer { struct
30 apply1<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];
H A Dinstantiate-template-template-parm.cpp8 struct add_pointer { struct
18 apply<add_pointer, int>::type ip = &i;
/external/libcxx/test/utilities/meta/meta.trans/meta.trans.ptr/
H A Dadd_pointer.pass.cpp12 // add_pointer
19 static_assert((std::is_same<typename std::add_pointer<T>::type, U>::value), "");
H A DAndroid.mk19 test_name := utilities/meta/meta.trans/meta.trans.ptr/add_pointer
20 test_src := add_pointer.pass.cpp
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmulti-level-substitution.cpp166 template<class> struct add_pointer;
181 int check10[X5<add_reference, add_pointer, add_const>
183 add_pointer<float>,
185 int check11[X5<add_reference, add_pointer>
187 add_pointer<float>,
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 139 milliseconds