Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td97 def DeducedType : TypeNode<Type, 1>;
98 def AutoType : TypeNode<DeducedType>;
99 def DeducedTemplateSpecializationType : TypeNode<DeducedType>;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1500 QualType DeducedType = Arg; in DeduceTemplateArgumentsByTypeMatch() local
1504 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1518 !DeducedType->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1529 DeducedType->isObjCLifetimeType() && in DeduceTemplateArgumentsByTypeMatch()
1533 DeducedType = S.Context.getQualifiedType(DeducedType.getUnqualifiedType(), in DeduceTemplateArgumentsByTypeMatch()
1537 DeducedType = S.Context.getCanonicalType(DeducedType); in DeduceTemplateArgumentsByTypeMatch()
4892 QualType DeducedType = Deduced[0].getAsType(); in DeduceAutoType() local
4895 DeducedType = BuildStdInitializerList(DeducedType, Loc); in DeduceAutoType()
4896 if (DeducedType.isNull()) in DeduceAutoType()
4905 DeducedType); in DeduceAutoType()
[all …]
H A DSemaLambda.cpp823 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local
826 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization()
835 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
855 return DeducedType; in buildLambdaInitCaptureInitialization()
H A DSemaTemplate.cpp2145 QualType DeducedType = SemaRef.Context.getTypeDeclType(Primary); member
2232 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide()
2344 QualType ReturnType = DeducedType; in transformFunctionProtoType()
2478 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareImplicitDeductionGuides()
2539 Transform.buildSimpleDeductionGuide(Transform.DeducedType)) in DeclareImplicitDeductionGuides()
6800 DeducedType *DeducedT = ParamType->getContainedDeducedType(); in CheckTemplateArgument()
H A DSemaExprCXX.cpp1470 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr()
2004 QualType DeducedType; in BuildCXXNew() local
2005 if (DeduceAutoType(AllocTypeInfo, Deduce, DeducedType) == DAR_Failed) in BuildCXXNew()
2009 if (DeducedType.isNull()) in BuildCXXNew()
2011 AllocType = DeducedType; in BuildCXXNew()
H A DSemaDecl.cpp11711 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer()
11803 QualType DeducedType; in deduceVarTypeFromInitializer() local
11804 if (DeduceAutoType(TSI, DeduceInit, DeducedType) == DAR_Failed) { in deduceVarTypeFromInitializer()
11828 !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer()
11833 return DeducedType; in deduceVarTypeFromInitializer()
11839 QualType DeducedType = deduceVarTypeFromInitializer( in DeduceVariableDeclarationType() local
11842 if (DeducedType.isNull()) { in DeduceVariableDeclarationType()
11847 VDecl->setType(DeducedType); in DeduceVariableDeclarationType()
13605 DeducedType *DT = D->getType()->getContainedDeducedType(); in BuildDeclaratorGroup()
H A DSemaInit.cpp10210 QualType DeducedType = in DeduceTemplateSpecializationFromInitializer() local
10214 << TSInfo->getTypeLoc().getSourceRange() << 1 << DeducedType; in DeduceTemplateSpecializationFromInitializer()
10225 return DeducedType; in DeduceTemplateSpecializationFromInitializer()
H A DSemaType.cpp3376 DeducedType *Deduced = T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator()
4472 if (auto *DT = T->getAs<DeducedType>()) { in GetFullTypeForDeclarator()
H A DSemaExpr.cpp4467 T = cast<DeducedType>(Ty)->getDeducedType(); in captureVariablyModifiedType()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1799 Type *VisitDeducedType(const DeducedType *AT) { in VisitDeducedType()
1800 return const_cast<DeducedType*>(AT); in VisitDeducedType()
1882 DeducedType *Type::getContainedDeducedType() const { in getContainedDeducedType()
1883 return cast_or_null<DeducedType>( in getContainedDeducedType()
4398 : DeducedType(Auto, DeducedAsType, ExtraDependence) { in AutoType()
H A DODRHash.cpp853 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
H A DASTContext.cpp2322 const auto *A = cast<DeducedType>(T); in getTypeInfoImpl()
5531 ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument
5536 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && in getAutoType()
5543 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoType()
5552 DeducedType, Keyword, in getAutoType()
5567 TemplateName Template, QualType DeducedType, bool IsDependent) const { in getDeducedTemplateSpecializationType() argument
5571 DeducedTemplateSpecializationType::Profile(ID, Template, DeducedType, in getDeducedTemplateSpecializationType()
5578 DeducedTemplateSpecializationType(Template, DeducedType, IsDependent); in getDeducedTemplateSpecializationType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h2268 DeducedType *getContainedDeducedType() const;
4948 class DeducedType : public Type {
4950 DeducedType(TypeClass TC, QualType DeducedAsType,
4982 class alignas(8) AutoType : public DeducedType, public llvm::FoldingSetNode {
5048 class DeducedTemplateSpecializationType : public DeducedType,
5058 : DeducedType(DeducedTemplateSpecialization, DeducedAsType,
H A DASTContext.h1642 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
1655 QualType DeducedType,
H A DTypeLoc.h2043 DeducedType> {};
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1029 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3169 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()