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.h429 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef()
431 SemaRef.CurrentInstantiationScope = this; in SemaRef()
452 SemaRef.CurrentInstantiationScope = Outer; in Exit()
463 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
492 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes()
650 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
H A DSema.h12637 LocalInstantiationScope *CurrentInstantiationScope; variable
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp878 if (CurrentInstantiationScope) in InstantiateAttrs()
879 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs()
1162 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl()
1350 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl()
1573 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl()
1631 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition()
2022 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl()
2967 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl()
3134 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl()
3270 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitTemplateTemplateParmDecl()
[all …]
H A DSemaTemplateVariadic.cpp733 CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
762 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion()
764 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckParameterPacksForExpansion()
815 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion()
851 CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
H A DSemaTemplateInstantiate.cpp1405 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack()
1411 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack()
1430 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack()
1449 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl()
1451 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl()
1474 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl()
1850 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
1912 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1921 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
2347 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr()
[all …]
H A DSemaTemplateDeductionGuide.cpp268 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TTP, NewTTP); in transformTemplateTypeParam()
632 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam()
H A DSemaTemplateDeduction.cpp931 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction()
2924 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument
2947 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments()
2948 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments()
2951 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments()
3515 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments()
3837 SugaredBuilder, CanonicalBuilder, CurrentInstantiationScope, in FinishTemplateArgumentDeduction()
H A DSema.cpp265 AccessCheckingSFINAE(false), CurrentInstantiationScope(nullptr), in Sema()
H A DSemaTemplate.cpp5539 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList()
5540 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
H A DSemaStmt.cpp445 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
H A DSemaChecking.cpp13492 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
13510 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
H A DSemaDeclCXX.cpp1660 (CurrentInstantiationScope && in CheckCXXDefaultArguments()
1661 CurrentInstantiationScope->isLocalPackExpansion(Param))) in CheckCXXDefaultArguments()
H A DSemaDecl.cpp15391 CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
H A DSemaExpr.cpp5445 if (!SemaRef.CurrentInstantiationScope || in TransformSourceLocExpr()