Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Template.h | 334 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() 336 SemaRef.CurrentInstantiationScope = this; in SemaRef() 357 SemaRef.CurrentInstantiationScope = Outer; in Exit() 368 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes() 397 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes() 547 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
|
| H A D | Sema.h | 9152 LocalInstantiationScope *CurrentInstantiationScope; variable
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 767 if (CurrentInstantiationScope) in InstantiateAttrs() 1019 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl() 2743 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 3445 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3448 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3461 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3464 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3528 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareMapperDecl() 6019 if (CurrentInstantiationScope) { in FindInstantiatedDecl() 6065 CurrentInstantiationScope->InstantiatedLocal(D, Inst); in FindInstantiatedDecl() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 711 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 740 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion() 742 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion() 793 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion() 829 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
| H A D | SemaTemplateInstantiate.cpp | 966 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 1010 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl() 1012 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl() 1035 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 1256 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 1308 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 1681 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() 2444 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() 2447 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl() 2787 assert(CurrentInstantiationScope == Instantiator.getStartingScope()); in InstantiateClass() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 781 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction() 2801 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument 2823 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments() 2824 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments() 2827 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments() 3288 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 3583 CurrentInstantiationScope, NumExplicitlySpecified, in FinishTemplateArgumentDeduction()
|
| H A D | SemaTemplate.cpp | 2293 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter() 2423 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam() 5891 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 5892 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
| H A D | Sema.cpp | 204 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr),
|
| H A D | SemaStmt.cpp | 431 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 | 15670 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 15688 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
| H A D | SemaDecl.cpp | 14169 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|