Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td100 def DeducedType : TypeNode<Type, 1>;
101 def AutoType : TypeNode<DeducedType>;
102 def DeducedTemplateSpecializationType : TypeNode<DeducedType>;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp316 QualType DeducedType = SemaRef.Context.getTypeDeclType(Primary); member
445 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide()
549 QualType ReturnType = DeducedType; in transformFunctionProtoType()
1329 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareAggregateDeductionGuideFromInitList()
1376 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareImplicitDeductionGuides()
1445 Transform.buildSimpleDeductionGuide(Transform.DeducedType)) in DeclareImplicitDeductionGuides()
H A DSemaTemplateDeduction.cpp1664 QualType DeducedType = A; in DeduceTemplateArgumentsByTypeMatch() local
1668 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1681 if (ParamQs.hasObjCLifetime() && !DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1682 !DeducedType->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1692 if (S.getLangOpts().ObjCAutoRefCount && DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1696 DeducedType = in DeduceTemplateArgumentsByTypeMatch()
1697 S.Context.getQualifiedType(DeducedType.getUnqualifiedType(), DeducedQs); in DeduceTemplateArgumentsByTypeMatch()
1699 DeducedTemplateArgument NewDeduced(DeducedType, DeducedFromArrayBound); in DeduceTemplateArgumentsByTypeMatch()
5114 QualType DeducedType; in DeduceAutoType() local
5122 DeducedType = getDecltypeForExpr(Init); in DeduceAutoType()
[all …]
H A DSemaLambda.cpp814 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local
817 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization()
826 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
846 return DeducedType; in buildLambdaInitCaptureInitialization()
H A DSemaExprCXX.cpp1565 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr()
1598 QualType DeducedType; in BuildCXXTypeConstructExpr() local
1601 DeduceAutoType(TInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXTypeConstructExpr()
1607 if (DeducedType.isNull()) { in BuildCXXTypeConstructExpr()
1612 Ty = DeducedType; in BuildCXXTypeConstructExpr()
2127 QualType DeducedType; in BuildCXXNew() local
2130 DeduceAutoType(AllocTypeInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXNew()
2136 if (DeducedType.isNull()) { in BuildCXXNew()
2140 AllocType = DeducedType; in BuildCXXNew()
H A DSemaDecl.cpp12802 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer()
12902 QualType DeducedType; in deduceVarTypeFromInitializer() local
12905 DeduceAutoType(TSI->getTypeLoc(), DeduceInit, DeducedType, Info); in deduceVarTypeFromInitializer()
12931 !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer()
12936 return DeducedType; in deduceVarTypeFromInitializer()
12942 QualType DeducedType = deduceVarTypeFromInitializer( in DeduceVariableDeclarationType() local
12945 if (DeducedType.isNull()) { in DeduceVariableDeclarationType()
12950 VDecl->setType(DeducedType); in DeduceVariableDeclarationType()
14779 DeducedType *DT = D->getType()->getContainedDeducedType(); in BuildDeclaratorGroup()
H A DSemaInit.cpp10051 QualType DeducedType = in DeduceTemplateSpecializationFromInitializer() local
10055 << TSInfo->getTypeLoc().getSourceRange() << 1 << DeducedType; in DeduceTemplateSpecializationFromInitializer()
10066 return DeducedType; in DeduceTemplateSpecializationFromInitializer()
H A DSemaType.cpp3130 DeducedType *Deduced = T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator()
4240 if (auto *DT = T->getAs<DeducedType>()) { in GetFullTypeForDeclarator()
H A DSemaTemplate.cpp6501 DeducedType *DeducedT = ParamType->getContainedDeducedType(); in CheckTemplateArgument()
H A DSemaExpr.cpp4478 T = cast<DeducedType>(Ty)->getDeducedType(); in captureVariablyModifiedType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1625 getAutoTypeInternal(QualType DeducedType, AutoTypeKeyword Keyword,
1788 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
1805 QualType DeducedType,
H A DType.h2772 DeducedType *getContainedDeducedType() const;
6334 class DeducedType : public Type {
6338 DeducedType(TypeClass TC, QualType DeducedAsType,
6368 class AutoType : public DeducedType, public llvm::FoldingSetNode {
6415 class DeducedTemplateSpecializationType : public DeducedType,
6425 : DeducedType(DeducedTemplateSpecialization, DeducedAsType,
H A DTypeLoc.h2174 DeducedType> {};
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1928 Type *VisitDeducedType(const DeducedType *AT) { in VisitDeducedType()
1929 return const_cast<DeducedType*>(AT); in VisitDeducedType()
2011 DeducedType *Type::getContainedDeducedType() const { in getContainedDeducedType()
2012 return cast_or_null<DeducedType>( in getContainedDeducedType()
5063 : DeducedType(Auto, DeducedAsType, ExtraDependence, Canon) { in AutoType()
H A DASTContext.cpp2345 const auto *A = cast<DeducedType>(T); in getTypeInfoImpl()
6186 QualType DeducedType, AutoTypeKeyword Keyword, bool IsDependent, in getAutoTypeInternal() argument
6189 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && in getAutoTypeInternal()
6196 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoTypeInternal()
6203 if (!DeducedType.isNull()) { in getAutoTypeInternal()
6204 Canon = DeducedType.getCanonicalType(); in getAutoTypeInternal()
6226 DeducedType, Keyword, in getAutoTypeInternal()
6240 ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument
6245 assert((!IsDependent || DeducedType.isNull()) && in getAutoType()
6247 return getAutoTypeInternal(DeducedType, Keyword, IsDependent, IsPack, in getAutoType()
[all …]
H A DODRHash.cpp1009 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1016 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3627 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()