| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 102 def DeducedType : TypeNode<Type, 1>; 103 def AutoType : TypeNode<DeducedType>; 104 def DeducedTemplateSpecializationType : TypeNode<DeducedType>;
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateDeductionGuide.cpp | 330 QualType DeducedType = SemaRef.Context.getTypeDeclType(Primary); member 510 QualType Result = SemaRef.BuildFunctionType(DeducedType, ParamTypes, Loc, in buildSimpleDeductionGuide() 595 QualType ReturnType = DeducedType; in transformFunctionProtoType() 1391 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareAggregateDeductionGuideFromInitList() 1437 if (!isCompleteType(Loc, Transform.DeducedType)) in DeclareImplicitDeductionGuides() 1506 Transform.buildSimpleDeductionGuide(Transform.DeducedType)) in DeclareImplicitDeductionGuides()
|
| H A D | SemaTemplateDeduction.cpp | 1664 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() 5227 QualType DeducedType; in DeduceAutoType() local 5235 DeducedType = getDecltypeForExpr(Init); in DeduceAutoType() [all …]
|
| H A D | SemaLambda.cpp | 835 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local 838 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization() 847 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization() 867 return DeducedType; in buildLambdaInitCaptureInitialization()
|
| H A D | SemaExprCXX.cpp | 1538 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr() 1571 QualType DeducedType; in BuildCXXTypeConstructExpr() local 1574 DeduceAutoType(TInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXTypeConstructExpr() 1580 if (DeducedType.isNull()) { in BuildCXXTypeConstructExpr() 1585 Ty = DeducedType; in BuildCXXTypeConstructExpr() 2229 QualType DeducedType; in BuildCXXNew() local 2232 DeduceAutoType(AllocTypeInfo->getTypeLoc(), Deduce, DeducedType, Info); in BuildCXXNew() 2238 if (DeducedType.isNull()) { in BuildCXXNew() 2242 AllocType = DeducedType; in BuildCXXNew()
|
| H A D | SemaDecl.cpp | 13028 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer() 13128 QualType DeducedType; in deduceVarTypeFromInitializer() local 13131 DeduceAutoType(TSI->getTypeLoc(), DeduceInit, DeducedType, Info); in deduceVarTypeFromInitializer() 13157 !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer() 13162 return DeducedType; in deduceVarTypeFromInitializer() 13168 QualType DeducedType = deduceVarTypeFromInitializer( in DeduceVariableDeclarationType() local 13171 if (DeducedType.isNull()) { in DeduceVariableDeclarationType() 13176 VDecl->setType(DeducedType); in DeduceVariableDeclarationType() 15167 DeducedType *DT = D->getType()->getContainedDeducedType(); in BuildDeclaratorGroup()
|
| H A D | SemaInit.cpp | 10347 QualType DeducedType = in DeduceTemplateSpecializationFromInitializer() local 10352 << TSInfo->getTypeLoc().getSourceRange() << 1 << DeducedType; in DeduceTemplateSpecializationFromInitializer() 10363 return DeducedType; in DeduceTemplateSpecializationFromInitializer()
|
| H A D | SemaType.cpp | 3182 DeducedType *Deduced = T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator() 4293 if (auto *DT = T->getAs<DeducedType>()) { in GetFullTypeForDeclarator()
|
| H A D | SemaTemplate.cpp | 6944 DeducedType *DeducedT = ParamType->getContainedDeducedType(); in CheckTemplateArgument()
|
| H A D | SemaExpr.cpp | 4559 T = cast<DeducedType>(Ty)->getDeducedType(); in captureVariablyModifiedType()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | TemplateArgumentHasher.cpp | 289 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 1744 getAutoTypeInternal(QualType DeducedType, AutoTypeKeyword Keyword, 1966 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, 1983 QualType DeducedType, 1988 QualType DeducedType,
|
| H A D | Type.h | 2850 DeducedType *getContainedDeducedType() const; 6703 class DeducedType : public Type { 6707 DeducedType(TypeClass TC, QualType DeducedAsType, 6737 class AutoType : public DeducedType { 6784 class DeducedTemplateSpecializationType : public DeducedType, 6794 : DeducedType(DeducedTemplateSpecialization, DeducedAsType,
|
| H A D | TypeLoc.h | 2230 DeducedType> {};
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 2511 const auto *A = cast<DeducedType>(T); in getTypeInfoImpl() 6614 QualType DeducedType, AutoTypeKeyword Keyword, bool IsDependent, in getAutoTypeInternal() argument 6617 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && in getAutoTypeInternal() 6624 !DeducedType.isNull() && DeducedType->isDependentType(); in getAutoTypeInternal() 6625 AutoType::Profile(ID, *this, DeducedType, Keyword, in getAutoTypeInternal() 6633 if (!DeducedType.isNull()) { in getAutoTypeInternal() 6634 Canon = DeducedType.getCanonicalType(); in getAutoTypeInternal() 6652 DeducedType, Keyword, in getAutoTypeInternal() 6671 ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument 6676 assert((!IsDependent || DeducedType.isNull()) && in getAutoType() [all …]
|
| H A D | Type.cpp | 1983 Type *VisitDeducedType(const DeducedType *AT) { in VisitDeducedType() 1984 return const_cast<DeducedType *>(AT); in VisitDeducedType() 2063 DeducedType *Type::getContainedDeducedType() const { in getContainedDeducedType() 2064 return cast_or_null<DeducedType>( in getContainedDeducedType() 5363 : DeducedType(Auto, DeducedAsType, ExtraDependence, Canon) { in AutoType()
|
| H A D | ODRHash.cpp | 1037 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1012 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 3873 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()
|