Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTypeNodes.td97 def DeducedType : TypeNode<Type, 1>;
98 def AutoType : TypeNode<DeducedType>;
99 def DeducedTemplateSpecializationType : TypeNode<DeducedType>;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1500 QualType DeducedType = Arg; in DeduceTemplateArgumentsByTypeMatch() local
1504 Qualifiers DeducedQs = DeducedType.getQualifiers(); in DeduceTemplateArgumentsByTypeMatch()
1517 if (ParamQs.hasObjCLifetime() && !DeducedType->isObjCLifetimeType() && 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()
1539 DeducedTemplateArgument NewDeduced(DeducedType, DeducedFromArrayBound); in DeduceTemplateArgumentsByTypeMatch()
4892 QualType DeducedType = Deduced[0].getAsType(); in DeduceAutoType() local
4895 DeducedType = BuildStdInitializerList(DeducedType, Loc); in DeduceAutoType()
[all …]
H A DSemaLambda.cpp819 QualType DeducedType = deduceVarTypeFromInitializer( in buildLambdaInitCaptureInitialization() local
822 if (DeducedType.isNull()) in buildLambdaInitCaptureInitialization()
831 InitializedEntity::InitializeLambdaCapture(Id, DeducedType, Loc); in buildLambdaInitCaptureInitialization()
851 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()
6801 DeducedType *DeducedT = ParamType->getContainedDeducedType(); in CheckTemplateArgument()
H A DSemaExprCXX.cpp1453 DeducedType *Deduced = Ty->getContainedDeducedType(); in BuildCXXTypeConstructExpr()
1987 QualType DeducedType; in BuildCXXNew() local
1988 if (DeduceAutoType(AllocTypeInfo, Deduce, DeducedType) == DAR_Failed) in BuildCXXNew()
1992 if (DeducedType.isNull()) in BuildCXXNew()
1994 AllocType = DeducedType; in BuildCXXNew()
H A DSemaDecl.cpp11652 DeducedType *Deduced = Type->getContainedDeducedType(); in deduceVarTypeFromInitializer()
11744 QualType DeducedType; in deduceVarTypeFromInitializer() local
11745 if (DeduceAutoType(TSI, DeduceInit, DeducedType) == DAR_Failed) { in deduceVarTypeFromInitializer()
11769 !DeducedType.isNull() && DeducedType->isObjCIdType()) { in deduceVarTypeFromInitializer()
11774 return DeducedType; in deduceVarTypeFromInitializer()
11780 QualType DeducedType = deduceVarTypeFromInitializer( in DeduceVariableDeclarationType() local
11783 if (DeducedType.isNull()) { in DeduceVariableDeclarationType()
11788 VDecl->setType(DeducedType); in DeduceVariableDeclarationType()
13549 DeducedType *DT = D->getType()->getContainedDeducedType(); in BuildDeclaratorGroup()
H A DSemaInit.cpp10209 QualType DeducedType = in DeduceTemplateSpecializationFromInitializer() local
10213 << TSInfo->getTypeLoc().getSourceRange() << 1 << DeducedType; in DeduceTemplateSpecializationFromInitializer()
10224 return DeducedType; in DeduceTemplateSpecializationFromInitializer()
H A DSemaType.cpp3343 DeducedType *Deduced = T->getContainedDeducedType(); in GetDeclSpecTypeForDeclarator()
4439 if (auto *DT = T->getAs<DeducedType>()) { in GetFullTypeForDeclarator()
H A DSemaExpr.cpp4430 T = cast<DeducedType>(Ty)->getDeducedType(); in captureVariablyModifiedType()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp470 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull(); in clang_getPointeeType()
518 TP = cast<DeducedType>(TP)->getDeducedType().getTypePtrOrNull(); in clang_getTypeDeclaration()
911 if (const auto *Deduced = dyn_cast<DeducedType>(QT)) in clang_Type_getAlignOf()
951 if (const auto *Deduced = dyn_cast<DeducedType>(QT)) in clang_Type_getSizeOf()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DType.cpp1799 Type *VisitDeducedType(const DeducedType *AT) { in VisitDeducedType()
1800 return const_cast<DeducedType*>(AT); in VisitDeducedType()
1879 DeducedType *Type::getContainedDeducedType() const { in getContainedDeducedType()
1880 return cast_or_null<DeducedType>( in getContainedDeducedType()
4393 : DeducedType(Auto, DeducedAsType, ExtraDependence) { in AutoType()
H A DODRHash.cpp853 void VisitDeducedType(const DeducedType *T) { in VisitDeducedType()
H A DASTContext.cpp2307 const auto *A = cast<DeducedType>(T); in getTypeInfoImpl()
5516 ASTContext::getAutoType(QualType DeducedType, AutoTypeKeyword Keyword, in getAutoType() argument
5521 if (DeducedType.isNull() && Keyword == AutoTypeKeyword::Auto && in getAutoType()
5528 AutoType::Profile(ID, *this, DeducedType, Keyword, IsDependent, in getAutoType()
5537 DeducedType, Keyword, in getAutoType()
5552 TemplateName Template, QualType DeducedType, bool IsDependent) const { in getDeducedTemplateSpecializationType() argument
5556 DeducedTemplateSpecializationType::Profile(ID, Template, DeducedType, in getDeducedTemplateSpecializationType()
5563 DeducedTemplateSpecializationType(Template, DeducedType, IsDependent); in getDeducedTemplateSpecializationType()
/netbsd-src/external/apache2/llvm/dist/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.h1597 QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
1610 QualType DeducedType,
H A DTypeLoc.h2043 DeducedType> {};
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1029 if (const auto *S = dyn_cast<DeducedType>(&Node)) {
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3187 QualType DT = cast<DeducedType>(T)->getDeducedType(); in UnwrapTypeForDebugInfo()