|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
tools/clang/include/clang/AST/Type.h 4823 class AutoType : public DeducedType, public llvm::FoldingSetNode {
4861 class DeducedTemplateSpecializationType : public DeducedType,
Declarations
gen/tools/clang/include/clang/AST/TypeNodes.inc 33 ABSTRACT_TYPE(Deduced, Type)
References
include/llvm/Support/Casting.h 57 static inline bool doit(const From &Val) {
58 return To::classof(&Val);
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
248 typename cast_retty<X, const Y>::ret_type>::type
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
309 return cast<X>(Val);
331 typename cast_retty<X, const Y>::ret_type>::type
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
367 dyn_cast_or_null(Y *Val) {
tools/clang/include/clang/AST/Type.h 2217 DeducedType *getContainedDeducedType() const;
4823 class AutoType : public DeducedType, public llvm::FoldingSetNode {
4861 class DeducedTemplateSpecializationType : public DeducedType,
6774 auto *DT = getContainedDeducedType();
6858 template <typename T> const T *Type::getAs() const {
6859 static_assert(!TypeIsArrayType<T>::value,
6863 if (const auto *Ty = dyn_cast<T>(this))
6863 if (const auto *Ty = dyn_cast<T>(this))
6867 if (!isa<T>(CanonicalType))
6872 return cast<T>(getUnqualifiedDesugaredType());
tools/clang/include/clang/AST/TypeLoc.h 486 return TypeClass::classof(Ty);
498 const TypeClass *getTypePtr() const {
499 return cast<TypeClass>(Base::getTypePtr());
1942 DeducedType> {};
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h 781 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
781 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
tools/clang/lib/AST/ASTContext.cpp 2137 const auto *A = cast<DeducedType>(T);
2137 const auto *A = cast<DeducedType>(T);
tools/clang/lib/AST/ODRHash.cpp 848 void VisitDeducedType(const DeducedType *T) {
tools/clang/lib/AST/Type.cpp 1734 Type *VisitDeducedType(const DeducedType *AT) {
1806 DeducedType *Type::getContainedDeducedType() const {
1807 return cast_or_null<DeducedType>(
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp 2896 QualType DT = cast<DeducedType>(T)->getDeducedType();
tools/clang/lib/Sema/SemaDecl.cpp11120 DeducedType *Deduced = Type->getContainedDeducedType();
12882 DeducedType *DT = D->getType()->getContainedDeducedType();
tools/clang/lib/Sema/SemaExpr.cpp 4131 T = cast<DeducedType>(Ty)->getDeducedType();
tools/clang/lib/Sema/SemaExprCXX.cpp 1358 DeducedType *Deduced = Ty->getContainedDeducedType();
1825 auto *Deduced = AllocType->getContainedDeducedType();
tools/clang/lib/Sema/SemaLookup.cpp 1036 auto *ContainedDeducedType =
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 5595 cast<DeducedType>(T)->getDeducedType(),
tools/clang/lib/Sema/SemaType.cpp 2955 if (DeducedType *Deduced = T->getContainedDeducedType()) {
4043 if (auto *DT = T->getAs<DeducedType>()) {
tools/clang/lib/Serialization/ASTReader.cpp 9881 auto *DT = FD->getReturnType()->getContainedDeducedType();
tools/clang/lib/Serialization/ASTReaderDecl.cpp 3440 auto *DT = T->getContainedDeducedType();
tools/clang/tools/extra/clangd/FindTarget.cpp 247 void VisitDeducedType(const DeducedType *DT) {
tools/clang/tools/libclang/CXType.cpp 469 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull();
517 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull();
908 if (const auto *Deduced = dyn_cast<DeducedType>(QT))
908 if (const auto *Deduced = dyn_cast<DeducedType>(QT))
948 if (const auto *Deduced = dyn_cast<DeducedType>(QT))
948 if (const auto *Deduced = dyn_cast<DeducedType>(QT))
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
1447 : public __and_<is_destructible<_Tp>, integral_constant<bool,
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };
1983 { typedef _Up type; };