/external/clang/test/SemaTemplate/ |
instantiate-typedef.cpp | 4 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}}
|
metafun-apply.cpp | 3 struct add_pointer { struct 30 apply1<add_pointer, int>::type ip = &i;
|
typename-specifier-2.cpp | 8 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;
|
instantiate-template-template-parm.cpp | 8 struct add_pointer { struct 18 apply<add_pointer, int>::type ip = &i;
|
default-arguments.cpp | 103 struct add_pointer { struct 112 int array4[is_same<X4<add_pointer>, 113 X4<add_pointer, add_pointer::apply> >::value? 1 : -1];
|
/frameworks/base/tools/aapt2/ |
ResourceValues.cpp | 375 constexpr T* add_pointer(T& val) { function in namespace:aapt 395 add_pointer<const Symbol>); 402 add_pointer<const Symbol>);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
metafunctions.cpp | 182 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,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
regcomp.c | 259 add_pointer(regex_t* reg, void* addr)
function 617 r = add_pointer(reg, cc);
[all...] |