| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-typedef.cpp | 4 struct add_pointer { struct 8 add_pointer<int>::type test1(int * ptr) { return ptr; } in test1() argument 10 add_pointer<float>::type test2(int * ptr) { in test2() 14 add_pointer<int&>::type // expected-note{{in instantiation of template class 'add_pointer<int &>' r…
|
| H A D | typename-specifier-2.cpp | 8 struct add_pointer { struct 20 bind_metafun<add_pointer, int>::type::type ip = &i; argument 21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variab… 30 extract_type_type<bind_metafun<add_pointer, double> >::t dp = &d;
|
| H A D | default-arguments.cpp | 103 struct add_pointer { struct 112 int array4[is_same<X4<add_pointer>, argument 113 X4<add_pointer, add_pointer::apply> >::value? 1 : -1];
|
| H A D | metafun-apply.cpp | 3 struct add_pointer { struct 30 apply1<add_pointer, int>::type ip = &i;
|
| H A D | instantiate-template-template-parm.cpp | 8 struct add_pointer { struct 18 apply<add_pointer, int>::type ip = &i; argument
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ptr/ |
| H A D | add_pointer.pass.cpp | 22 ASSERT_SAME_TYPE(U, typename std::add_pointer<T>::type); in test_add_pointer() 31 ASSERT_SAME_TYPE(F*, typename std::add_pointer<F>::type); in test_function0() 40 ASSERT_SAME_TYPE(F, typename std::add_pointer<F>::type); in test_function1()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| H A D | multi-level-substitution.cpp | 166 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 D | metafunctions.cpp | 182 struct add_pointer { struct 192 add_reference, add_pointer, add_const>::type, 200 int check1[is_same<apply_each_indirect<int, add_reference, add_pointer,
|
| /llvm-project-15.0.7/libcxx/include/__type_traits/ |
| H A D | add_pointer.h | 32 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS add_pointer 36 template <class _Tp> using add_pointer_t = typename add_pointer<_Tp>::type;
|
| H A D | decay.h | 44 typename add_pointer<_Up>::type,
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | EvaluatedExprVisitor.h | 129 : public EvaluatedExprVisitorBase<std::add_pointer, ImplClass> { 132 : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {} in EvaluatedExprVisitor()
|
| H A D | AttrVisitor.h | 61 class AttrVisitor : public attrvisitor::Base<std::add_pointer, ImplClass, RetTy,
|
| H A D | DeclVisitor.h | 67 : public declvisitor::Base<std::add_pointer, ImplClass, RetTy> {};
|
| H A D | CommentVisitor.h | 58 class CommentVisitor : public CommentVisitorBase<std::add_pointer, ImplClass,
|
| H A D | StmtVisitor.h | 184 : public StmtVisitorBase<std::add_pointer, ImplClass, RetTy, ParamTys...> {
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.same/ |
| H A D | same_as.pass.cpp | 197 CheckSameAs<std::add_pointer>(); in main()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | type_traits | 76 template <class T> struct add_pointer; 216 using add_pointer_t = typename add_pointer<T>::type; // C++14 425 #include <__type_traits/add_pointer.h>
|
| H A D | any | 679 typedef typename add_pointer<_ValueType>::type _ReturnType;
|
| H A D | CMakeLists.txt | 514 __type_traits/add_pointer.h
|
| H A D | module.modulemap.in | 1104 module add_pointer { private header "__type_traits/add_pointer.h" }
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/ |
| H A D | BUILD.gn | 576 "__type_traits/add_pointer.h",
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | STLExtras.h | 70 typename std::add_pointer<typename std::add_const<T>::type>::type;
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 54 SYMBOL(add_pointer, std::, <type_traits>)
|