Home
last modified time | relevance | path

Searched refs:DeducedType (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeNodes.def102 TYPE(Auto, DeducedType)
103 TYPE(DeducedTemplateSpecialization, DeducedType)
H A DType.h2175 DeducedType *getContainedDeducedType() const;
4709 class DeducedType : public Type {
4711 DeducedType(TypeClass TC, QualType DeducedAsType, bool IsDependent,
4749 class AutoType : public DeducedType, public llvm::FoldingSetNode {
4754 : DeducedType(Auto, DeducedAsType, IsDeducedAsDependent,
4785 class DeducedTemplateSpecializationType : public DeducedType,
4795 : DeducedType(DeducedTemplateSpecialization, DeducedAsType,
H A DASTContext.h1522 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
1533 QualType DeducedType,
H A DTypeLoc.h1907 DeducedType> {};
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1372 QualType DeducedType = Arg; in DeduceTemplateArgumentsByTypeMatch() local
1376 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1389 if (ParamQs.hasObjCLifetime() && !DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1390 !DeducedType->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1401 DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1405 DeducedType = S.Context.getQualifiedType(DeducedType.getUnqualifiedType(), in DeduceTemplateArgumentsByTypeMatch()
1409 DeducedType = S.Context.getCanonicalType(DeducedType); in DeduceTemplateArgumentsByTypeMatch()
4532 QualType DeducedType = Deduced[0].getAsType(); in DeduceAutoType() local
4535 DeducedType = BuildStdInitializerList(DeducedType, Loc); in DeduceAutoType()
4536 if (DeducedType.isNull()) in DeduceAutoType()
[all …]
H A DSemaLambda.cpp763 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local
766 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization()
775 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
792 return DeducedType; in buildLambdaInitCaptureInitialization()
H A DSemaExprCXX.cpp1374 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr()
1876 QualType DeducedType; in BuildCXXNew() local
1877 if (DeduceAutoType(AllocTypeInfo, Inits[0], DeducedType) == DAR_Failed) in BuildCXXNew()
1881 if (DeducedType.isNull()) in BuildCXXNew()
1883 AllocType = DeducedType; in BuildCXXNew()
H A DSemaDecl.cpp10818 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer()
10910 QualType DeducedType; in deduceVarTypeFromInitializer() local
10911 if (DeduceAutoType(TSI, DeduceInit, DeducedType) == DAR_Failed) { in deduceVarTypeFromInitializer()
10936 !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer()
10941 return DeducedType; in deduceVarTypeFromInitializer()
10946 QualType DeducedType = deduceVarTypeFromInitializer( in DeduceVariableDeclarationType() local
10949 if (DeducedType.isNull()) { in DeduceVariableDeclarationType()
10954 VDecl->setType(DeducedType); in DeduceVariableDeclarationType()
12271 DeducedType *DT = D->getType()->getContainedDeducedType(); in BuildDeclaratorGroup()
H A DSemaTemplate.cpp1697 QualType DeducedType = SemaRef.Context.getTypeDeclType(Primary); member
1780 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide()
1872 QualType ReturnType = DeducedType; in transformFunctionProtoType()
1990 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareImplicitDeductionGuides()
2045 Transform.buildSimpleDeductionGuide(Transform.DeducedType)) in DeclareImplicitDeductionGuides()
H A DSemaInit.cpp9428 QualType DeducedType = in DeduceTemplateSpecializationFromInitializer() local
9432 << TSInfo->getTypeLoc().getSourceRange() << 1 << DeducedType; in DeduceTemplateSpecializationFromInitializer()
9433 return DeducedType; in DeduceTemplateSpecializationFromInitializer()
H A DSemaType.cpp2890 if (DeducedType *Deduced = T->getContainedDeducedType()) { in GetDeclSpecTypeForDeclarator()
3959 if (auto *DT = T->getAs<DeducedType>()) { in GetFullTypeForDeclarator()
H A DSemaExpr.cpp4015 T = cast<DeducedType>(Ty)->getDeducedType(); in captureVariablyModifiedType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp1659 Type *VisitDeducedType(const DeducedType *AT) { in VisitDeducedType()
1660 return const_cast<DeducedType*>(AT); in VisitDeducedType()
1723 DeducedType *Type::getContainedDeducedType() const { in getContainedDeducedType()
1724 return cast_or_null<DeducedType>( in getContainedDeducedType()
H A DODRHash.cpp776 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
H A DASTContext.cpp2051 const auto *A = cast<DeducedType>(T); in getTypeInfoImpl()
4858 QualType ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument
4860 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && !IsDependent) in getAutoType()
4866 AutoType::Profile(ID, DeducedType, Keyword, IsDependent); in getAutoType()
4871 AutoType(DeducedType, Keyword, IsDependent); in getAutoType()
4882 TemplateName Template, QualType DeducedType, bool IsDependent) const { in getDeducedTemplateSpecializationType() argument
4886 DeducedTemplateSpecializationType::Profile(ID, Template, DeducedType, in getDeducedTemplateSpecializationType()
4893 DeducedTemplateSpecializationType(Template, DeducedType, IsDependent); in getDeducedTemplateSpecializationType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h781 if (const auto *S = dyn_cast<DeducedType>(&Node)) { in matchesSpecialized()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2768 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()