Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | Template.h | 398 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() 400 SemaRef.CurrentInstantiationScope = this; in SemaRef() 421 SemaRef.CurrentInstantiationScope = Outer; in Exit() 432 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes() 461 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes() 620 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
|
H A D | Sema.h | 9787 LocalInstantiationScope *CurrentInstantiationScope; variable
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 819 if (CurrentInstantiationScope) in InstantiateAttrs() 1081 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl() 2859 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 3574 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3577 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3590 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3593 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3657 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareMapperDecl() 6061 if (CurrentInstantiationScope) { in FindInstantiatedDecl() 6107 CurrentInstantiationScope->InstantiatedLocal(D, Inst); in FindInstantiatedDecl() [all …]
|
H A D | SemaTemplateVariadic.cpp | 710 CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 739 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion() 741 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckParameterPacksForExpansion() 792 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion() 828 CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
H A D | SemaTemplateInstantiate.cpp | 1161 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 1205 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl() 1207 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl() 1230 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 1509 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 1561 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 1951 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() 2794 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() 2797 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl() 3220 assert(CurrentInstantiationScope == Instantiator.getStartingScope()); in InstantiateClass() [all …]
|
H A D | SemaTemplateDeduction.cpp | 785 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction() 2712 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument 2734 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments() 2735 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments() 2738 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments() 3269 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 3564 SugaredBuilder, CanonicalBuilder, CurrentInstantiationScope, in FinishTemplateArgumentDeduction()
|
H A D | SemaTemplate.cpp | 2394 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter() 2524 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam() 6088 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 6089 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
H A D | Sema.cpp | 218 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr), in Sema()
|
H A D | SemaStmt.cpp | 439 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
H A D | SemaDeclCXX.cpp | 1646 !(CurrentInstantiationScope && in CheckCXXDefaultArguments() 1647 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
|
H A D | SemaChecking.cpp | 17057 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 17075 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
H A D | SemaDecl.cpp | 15081 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|