Home
last modified time | relevance | path

Searched refs:NewDI (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1738 TypeSourceInfo *NewDI = nullptr; in SubstParmVarDecl() local
1745 NewDI = SubstType(ExpansionTL.getPatternLoc(), TemplateArgs, in SubstParmVarDecl()
1747 if (!NewDI) in SubstParmVarDecl()
1750 if (NewDI->getType()->containsUnexpandedParameterPack()) { in SubstParmVarDecl()
1754 NewDI = CheckPackExpansion(NewDI, ExpansionTL.getEllipsisLoc(), in SubstParmVarDecl()
1763 << NewDI->getType(); in SubstParmVarDecl()
1767 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl()
1771 if (!NewDI) in SubstParmVarDecl()
1774 if (NewDI->getType()->isVoidType()) { in SubstParmVarDecl()
1783 NewDI->getType(), NewDI, in SubstParmVarDecl()
H A DSemaTemplateInstantiateDecl.cpp2242 TypeSourceInfo *NewDI = in VisitNonTypeTemplateParmDecl() local
2245 if (!NewDI) in VisitNonTypeTemplateParmDecl()
2249 SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation()); in VisitNonTypeTemplateParmDecl()
2253 ExpandedParameterPackTypesAsWritten.push_back(NewDI); in VisitNonTypeTemplateParmDecl()
2287 TypeSourceInfo *NewDI = SemaRef.SubstType(Pattern, TemplateArgs, in VisitNonTypeTemplateParmDecl() local
2290 if (!NewDI) in VisitNonTypeTemplateParmDecl()
2294 SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation()); in VisitNonTypeTemplateParmDecl()
2298 ExpandedParameterPackTypesAsWritten.push_back(NewDI); in VisitNonTypeTemplateParmDecl()
H A DSemaTemplate.cpp1902 TypeSourceInfo *NewDI; in transformFunctionTypeParam() local
1906 NewDI = in transformFunctionTypeParam()
1909 if (!NewDI) return nullptr; in transformFunctionTypeParam()
1910 NewDI = in transformFunctionTypeParam()
1911 SemaRef.CheckPackExpansion(NewDI, PackTL.getEllipsisLoc(), in transformFunctionTypeParam()
1914 NewDI = SemaRef.SubstType(OldDI, Args, OldParam->getLocation(), in transformFunctionTypeParam()
1916 if (!NewDI) in transformFunctionTypeParam()
1923 NewDI = ExtractTypeForDeductionGuide(SemaRef).transform(NewDI); in transformFunctionTypeParam()
1938 NewDI->getType(), in transformFunctionTypeParam()
1939 NewDI, in transformFunctionTypeParam()
H A DTreeTransform.h4146 TypeSourceInfo *NewDI = getDerived().TransformType(DI); in TransformType() local
4148 if (!NewDI) in TransformType()
4151 return NewDI->getType(); in TransformType()
4199 return NewDI ? NewDI->getType() : QualType(); in TransformTypeWithDeducedTST()
4975 TypeSourceInfo *NewDI = nullptr; in TransformFunctionTypeParam() local
5002 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam()
5004 NewDI = getDerived().TransformType(OldDI); in TransformFunctionTypeParam()
5005 if (!NewDI) in TransformFunctionTypeParam()
5008 if (NewDI == OldDI && indexAdjustment == 0) in TransformFunctionTypeParam()
5016 NewDI->getType(), in TransformFunctionTypeParam()
[all …]