Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h435 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef()
438 SemaRef.CurrentInstantiationScope = this; in SemaRef()
459 SemaRef.CurrentInstantiationScope = Outer; in Exit()
470 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
499 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes()
669 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
H A DSema.h12894 LocalInstantiationScope *CurrentInstantiationScope; variable
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp783 CurrentInstantiationScope->findInstantiationOf(ND); in CheckParameterPacksForExpansion()
802 CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
851 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion()
853 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckParameterPacksForExpansion()
930 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion()
963 CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansionFromUnexpanded()
H A DSemaTemplateInstantiateDecl.cpp946 if (CurrentInstantiationScope) in InstantiateAttrs()
947 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs()
1596 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl()
1635 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldDecls[I], in VisitDecompositionDecl()
1812 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl()
2100 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl()
2159 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition()
2550 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl()
3512 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl()
3679 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl()
[all …]
H A DSemaTemplateInstantiate.cpp1459 if (SemaRef.CurrentInstantiationScope && in TryExpandParameterPacks()
1475 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack()
1481 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack()
1504 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack()
1538 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl()
1540 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl()
1563 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl()
1956 PVD && SemaRef.CurrentInstantiationScope && in TransformDecl()
1966 if (SemaRef.CurrentInstantiationScope->getInstantiationOfIfExists(OldParm)) in maybeInstantiateFunctionParameterToScope()
2011 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
[all …]
H A DSemaTemplateDeductionGuide.cpp266 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TTP, NewTTP); in transformTemplateTypeParam()
678 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam()
H A DSemaTemplateDeduction.cpp885 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction()
2989 LocalInstantiationScope *CurrentInstantiationScope, in ConvertDeducedTemplateArguments() argument
3010 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments()
3011 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments()
3014 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments()
3589 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments()
3913 /*IsDeduced=*/true, Deduced, Info, CTAI, CurrentInstantiationScope, in FinishTemplateArgumentDeduction()
H A DSema.cpp326 AccessCheckingSFINAE(false), CurrentInstantiationScope(nullptr), in Sema()
H A DSemaStmt.cpp476 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
H A DSemaTemplate.cpp5954 (CurrentInstantiationScope && in CheckTemplateArgumentList()
5955 CurrentInstantiationScope->getPartiallySubstitutedPack())) { in CheckTemplateArgumentList()
H A DSemaChecking.cpp14925 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
14943 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
H A DSemaDeclCXX.cpp1780 (CurrentInstantiationScope && in CheckCXXDefaultArguments()
1781 CurrentInstantiationScope->isLocalPackExpansion(Param))) in CheckCXXDefaultArguments()
H A DSemaDecl.cpp15842 CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
H A DSemaExpr.cpp5546 if (!SemaRef.CurrentInstantiationScope || in TransformSourceLocExpr()