Home
last modified time | relevance | path

Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h334 : 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 DSema.h9152 LocalInstantiationScope *CurrentInstantiationScope; variable
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp767 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 DSemaTemplateVariadic.cpp711 = 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 DSemaTemplateInstantiate.cpp966 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 DSemaTemplateDeduction.cpp781 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 DSemaTemplate.cpp2293 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 DSema.cpp204 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr),
H A DSemaStmt.cpp431 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
H A DSemaDeclCXX.cpp1612 !(CurrentInstantiationScope && in CheckCXXDefaultArguments()
1613 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
H A DSemaChecking.cpp15670 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
15688 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
H A DSemaDecl.cpp14169 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()