Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Template.h | 368 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() 370 SemaRef.CurrentInstantiationScope = this; in SemaRef() 391 SemaRef.CurrentInstantiationScope = Outer; in Exit() 402 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes() 431 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes() 581 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
|
| H A D | Sema.h | 9481 LocalInstantiationScope *CurrentInstantiationScope; variable
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 815 if (CurrentInstantiationScope) in InstantiateAttrs() 1073 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl() 2794 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 3507 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3510 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3523 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3526 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3590 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareMapperDecl() 6050 if (CurrentInstantiationScope) { in FindInstantiatedDecl() 6096 CurrentInstantiationScope->InstantiatedLocal(D, Inst); in FindInstantiatedDecl() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 708 CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 737 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion() 739 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion() 790 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion() 826 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
| H A D | SemaTemplateInstantiate.cpp | 982 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 1026 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl() 1028 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl() 1051 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 1272 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 1324 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 1694 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() 2489 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() 2492 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl() 2832 assert(CurrentInstantiationScope == Instantiator.getStartingScope()); in InstantiateClass() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 766 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction() 2662 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument 2684 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments() 2685 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments() 2688 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments() 3163 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 3458 CurrentInstantiationScope, NumExplicitlySpecified, in FinishTemplateArgumentDeduction()
|
| H A D | SemaTemplate.cpp | 2298 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter() 2428 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam() 5953 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 5954 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
| H A D | Sema.cpp | 217 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr), in Sema()
|
| H A D | SemaStmt.cpp | 439 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
| H A D | SemaDeclCXX.cpp | 1612 !(CurrentInstantiationScope && in CheckCXXDefaultArguments() 1613 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
|
| H A D | SemaChecking.cpp | 16778 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 16796 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
| H A D | SemaDecl.cpp | 14683 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|