Searched refs:NewDI (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 1610 TypeSourceInfo *NewDI = nullptr; in SubstParmVarDecl() local 1617 NewDI = SubstType(ExpansionTL.getPatternLoc(), TemplateArgs, in SubstParmVarDecl() 1619 if (!NewDI) in SubstParmVarDecl() 1622 if (NewDI->getType()->containsUnexpandedParameterPack()) { in SubstParmVarDecl() 1626 NewDI = CheckPackExpansion(NewDI, ExpansionTL.getEllipsisLoc(), in SubstParmVarDecl() 1635 << NewDI->getType(); in SubstParmVarDecl() 1639 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl() 1643 if (!NewDI) in SubstParmVarDecl() 1646 if (NewDI->getType()->isVoidType()) { in SubstParmVarDecl() 1655 NewDI->getType(), NewDI, in SubstParmVarDecl()
|
D | SemaTemplateInstantiateDecl.cpp | 2057 TypeSourceInfo *NewDI =SemaRef.SubstType(D->getExpansionTypeSourceInfo(I), in VisitNonTypeTemplateParmDecl() local 2061 if (!NewDI) in VisitNonTypeTemplateParmDecl() 2064 ExpandedParameterPackTypesAsWritten.push_back(NewDI); in VisitNonTypeTemplateParmDecl() 2065 QualType NewT =SemaRef.CheckNonTypeTemplateParameterType(NewDI->getType(), in VisitNonTypeTemplateParmDecl() 2102 TypeSourceInfo *NewDI = SemaRef.SubstType(Pattern, TemplateArgs, in VisitNonTypeTemplateParmDecl() local 2105 if (!NewDI) in VisitNonTypeTemplateParmDecl() 2108 ExpandedParameterPackTypesAsWritten.push_back(NewDI); in VisitNonTypeTemplateParmDecl() 2110 NewDI->getType(), in VisitNonTypeTemplateParmDecl()
|
D | TreeTransform.h | 3984 TypeSourceInfo *NewDI = getDerived().TransformType(DI); in TransformType() local 3986 if (!NewDI) in TransformType() 3989 return NewDI->getType(); in TransformType() 4648 TypeSourceInfo *NewDI = nullptr; in TransformFunctionTypeParam() local 4675 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam() 4677 NewDI = getDerived().TransformType(OldDI); in TransformFunctionTypeParam() 4678 if (!NewDI) in TransformFunctionTypeParam() 4681 if (NewDI == OldDI && indexAdjustment == 0) in TransformFunctionTypeParam() 4689 NewDI->getType(), in TransformFunctionTypeParam() 4690 NewDI, in TransformFunctionTypeParam()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 2315 TypeSourceInfo *NewDI = nullptr; in SubstParmVarDecl() local 2322 NewDI = SubstType(ExpansionTL.getPatternLoc(), TemplateArgs, in SubstParmVarDecl() 2324 if (!NewDI) in SubstParmVarDecl() 2327 if (NewDI->getType()->containsUnexpandedParameterPack()) { in SubstParmVarDecl() 2331 NewDI = CheckPackExpansion(NewDI, ExpansionTL.getEllipsisLoc(), in SubstParmVarDecl() 2340 << NewDI->getType(); in SubstParmVarDecl() 2344 NewDI = SubstType(OldDI, TemplateArgs, OldParm->getLocation(), in SubstParmVarDecl() 2348 if (!NewDI) in SubstParmVarDecl() 2351 if (NewDI->getType()->isVoidType()) { in SubstParmVarDecl() 2400 NewDI->getType(), NewDI, in SubstParmVarDecl()
|
D | SemaTemplateInstantiateDecl.cpp | 2685 TypeSourceInfo *NewDI = in VisitNonTypeTemplateParmDecl() local 2688 if (!NewDI) in VisitNonTypeTemplateParmDecl() 2692 SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation()); in VisitNonTypeTemplateParmDecl() 2696 ExpandedParameterPackTypesAsWritten.push_back(NewDI); in VisitNonTypeTemplateParmDecl() 2730 TypeSourceInfo *NewDI = SemaRef.SubstType(Pattern, TemplateArgs, in VisitNonTypeTemplateParmDecl() local 2733 if (!NewDI) in VisitNonTypeTemplateParmDecl() 2737 SemaRef.CheckNonTypeTemplateParameterType(NewDI, D->getLocation()); in VisitNonTypeTemplateParmDecl() 2741 ExpandedParameterPackTypesAsWritten.push_back(NewDI); in VisitNonTypeTemplateParmDecl()
|
D | SemaTemplate.cpp | 2353 TypeSourceInfo *NewDI; in transformFunctionTypeParam() local 2357 NewDI = in transformFunctionTypeParam() 2360 if (!NewDI) return nullptr; in transformFunctionTypeParam() 2361 NewDI = in transformFunctionTypeParam() 2362 SemaRef.CheckPackExpansion(NewDI, PackTL.getEllipsisLoc(), in transformFunctionTypeParam() 2365 NewDI = SemaRef.SubstType(OldDI, Args, OldParam->getLocation(), in transformFunctionTypeParam() 2367 if (!NewDI) in transformFunctionTypeParam() 2374 NewDI = ExtractTypeForDeductionGuide(SemaRef, MaterializedTypedefs) in transformFunctionTypeParam() 2375 .transform(NewDI); in transformFunctionTypeParam() 2383 QualType ParamTy = NewDI->getType(); in transformFunctionTypeParam() [all …]
|
D | TreeTransform.h | 4517 TypeSourceInfo *NewDI = getDerived().TransformType(DI); in TransformType() local 4519 if (!NewDI) in TransformType() 4522 return NewDI->getType(); in TransformType() 4569 TypeSourceInfo *NewDI = getDerived().TransformTypeWithDeducedTST(DI); in TransformTypeWithDeducedTST() local 4570 return NewDI ? NewDI->getType() : QualType(); in TransformTypeWithDeducedTST() 5435 TypeSourceInfo *NewDI = nullptr; in TransformFunctionTypeParam() local 5462 NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result); in TransformFunctionTypeParam() 5464 NewDI = getDerived().TransformType(OldDI); in TransformFunctionTypeParam() 5465 if (!NewDI) in TransformFunctionTypeParam() 5468 if (NewDI == OldDI && indexAdjustment == 0) in TransformFunctionTypeParam() [all …]
|