Home
last modified time | relevance | path

Searched refs:add_pointer (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-typedef.cpp4 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 Dtypename-specifier-2.cpp8 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 Ddefault-arguments.cpp103 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 Dmetafun-apply.cpp3 struct add_pointer { struct
30 apply1<add_pointer, int>::type ip = &i;
H A Dinstantiate-template-template-parm.cpp8 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 Dadd_pointer.pass.cpp22 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 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
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 Dadd_pointer.h32 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS add_pointer
36 template <class _Tp> using add_pointer_t = typename add_pointer<_Tp>::type;
H A Ddecay.h44 typename add_pointer<_Up>::type,
/llvm-project-15.0.7/clang/include/clang/AST/
H A DEvaluatedExprVisitor.h129 : public EvaluatedExprVisitorBase<std::add_pointer, ImplClass> {
132 : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {} in EvaluatedExprVisitor()
H A DAttrVisitor.h61 class AttrVisitor : public attrvisitor::Base<std::add_pointer, ImplClass, RetTy,
H A DDeclVisitor.h67 : public declvisitor::Base<std::add_pointer, ImplClass, RetTy> {};
H A DCommentVisitor.h58 class CommentVisitor : public CommentVisitorBase<std::add_pointer, ImplClass,
H A DStmtVisitor.h184 : public StmtVisitorBase<std::add_pointer, ImplClass, RetTy, ParamTys...> {
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.same/
H A Dsame_as.pass.cpp197 CheckSameAs<std::add_pointer>(); in main()
/llvm-project-15.0.7/libcxx/include/
H A Dtype_traits76 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 Dany679 typedef typename add_pointer<_ValueType>::type _ReturnType;
H A DCMakeLists.txt514 __type_traits/add_pointer.h
H A Dmodule.modulemap.in1104 module add_pointer { private header "__type_traits/add_pointer.h" }
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn576 "__type_traits/add_pointer.h",
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSTLExtras.h70 typename std::add_pointer<typename std::add_const<T>::type>::type;
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc54 SYMBOL(add_pointer, std::, <type_traits>)