Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTypeNodes.td99 def DeducedType : TypeNode<Type, 1>;
100 def AutoType : TypeNode<DeducedType>;
101 def DeducedTemplateSpecializationType : TypeNode<DeducedType>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1528 QualType DeducedType = A; in DeduceTemplateArgumentsByTypeMatch() local
1546 !DeducedType->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1560 DeducedType = in DeduceTemplateArgumentsByTypeMatch()
4987 QualType DeducedType; in DeduceAutoType() local
4995 DeducedType = getDecltypeForExpr(Init); in DeduceAutoType()
4996 assert(!DeducedType.isNull()); in DeduceAutoType()
5061 DeducedType = Deduced[0].getAsType(); in DeduceAutoType()
5064 DeducedType = BuildStdInitializerList(DeducedType, Loc); in DeduceAutoType()
5065 if (DeducedType.isNull()) in DeduceAutoType()
5073 Info.SecondArg = DeducedType; in DeduceAutoType()
[all …]
H A DSemaLambda.cpp772 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local
775 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization()
784 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
804 return DeducedType; in buildLambdaInitCaptureInitialization()
H A DSemaExprCXX.cpp1520 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr()
1553 QualType DeducedType; in BuildCXXTypeConstructExpr() local
1556 DeduceAutoType(TInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXTypeConstructExpr()
1561 if (DeducedType.isNull()) { in BuildCXXTypeConstructExpr()
1566 Ty = DeducedType; in BuildCXXTypeConstructExpr()
2097 QualType DeducedType; in BuildCXXNew() local
2100 DeduceAutoType(AllocTypeInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXNew()
2105 if (DeducedType.isNull()) { in BuildCXXNew()
2109 AllocType = DeducedType; in BuildCXXNew()
H A DSemaTemplate.cpp2306 QualType DeducedType = SemaRef.Context.getTypeDeclType(Primary); member
2435 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide()
2562 QualType ReturnType = DeducedType; in transformFunctionProtoType()
2698 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareImplicitDeductionGuideFromInitList()
2737 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareImplicitDeductionGuides()
2810 Transform.buildSimpleDeductionGuide(Transform.DeducedType)) in DeclareImplicitDeductionGuides()
7231 DeducedType *DeducedT = ParamType->getContainedDeducedType(); in CheckTemplateArgument()
H A DSemaDecl.cpp13003 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer()
13103 QualType DeducedType; in deduceVarTypeFromInitializer() local
13106 DeduceAutoType(TSI->getTypeLoc(), DeduceInit, DeducedType, Info); in deduceVarTypeFromInitializer()
13131 !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer()
13136 return DeducedType; in deduceVarTypeFromInitializer()
13142 QualType DeducedType = deduceVarTypeFromInitializer( in DeduceVariableDeclarationType() local
13145 if (DeducedType.isNull()) { in DeduceVariableDeclarationType()
13150 VDecl->setType(DeducedType); in DeduceVariableDeclarationType()
14976 DeducedType *DT = D->getType()->getContainedDeducedType(); in BuildDeclaratorGroup()
H A DSemaInit.cpp10944 QualType DeducedType = in DeduceTemplateSpecializationFromInitializer() local
10948 << TSInfo->getTypeLoc().getSourceRange() << 1 << DeducedType; in DeduceTemplateSpecializationFromInitializer()
10959 return DeducedType; in DeduceTemplateSpecializationFromInitializer()
H A DSemaType.cpp3599 DeducedType *Deduced = T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator()
4725 if (auto *DT = T->getAs<DeducedType>()) { in GetFullTypeForDeclarator()
H A DSemaExpr.cpp4723 T = cast<DeducedType>(Ty)->getDeducedType(); in captureVariablyModifiedType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1563 getAutoTypeInternal(QualType DeducedType, AutoTypeKeyword Keyword,
1721 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
1738 QualType DeducedType,
H A DType.h2519 DeducedType *getContainedDeducedType() const;
5420 class DeducedType : public Type {
5424 DeducedType(TypeClass TC, QualType DeducedAsType,
5454 class AutoType : public DeducedType, public llvm::FoldingSetNode {
5501 class DeducedTemplateSpecializationType : public DeducedType,
5511 : DeducedType(DeducedTemplateSpecialization, DeducedAsType,
H A DTypeLoc.h2105 DeducedType> {};
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1865 Type *VisitDeducedType(const DeducedType *AT) { in VisitDeducedType()
1866 return const_cast<DeducedType*>(AT); in VisitDeducedType()
1948 DeducedType *Type::getContainedDeducedType() const { in getContainedDeducedType()
1949 return cast_or_null<DeducedType>( in getContainedDeducedType()
4818 : DeducedType(Auto, DeducedAsType, ExtraDependence, Canon) { in AutoType()
H A DASTContext.cpp2306 const auto *A = cast<DeducedType>(T); in getTypeInfoImpl()
5743 QualType DeducedType, AutoTypeKeyword Keyword, bool IsDependent, in getAutoTypeInternal() argument
5746 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && in getAutoTypeInternal()
5753 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoTypeInternal()
5760 if (!DeducedType.isNull()) { in getAutoTypeInternal()
5761 Canon = DeducedType.getCanonicalType(); in getAutoTypeInternal()
5783 DeducedType, Keyword, in getAutoTypeInternal()
5797 ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument
5802 assert((!IsDependent || DeducedType.isNull()) && in getAutoType()
5804 return getAutoTypeInternal(DeducedType, Keyword, IsDependent, IsPack, in getAutoType()
[all …]
H A DODRHash.cpp992 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1020 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3481 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()