Searched refs:CurrentInstantiationScope (Results 1 – 14 of 14) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 429 : 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 D | Sema.h | 12637 LocalInstantiationScope *CurrentInstantiationScope; variable
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 878 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 D | SemaTemplateVariadic.cpp | 733 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 D | SemaTemplateInstantiate.cpp | 1405 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 D | SemaTemplateDeductionGuide.cpp | 268 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TTP, NewTTP); in transformTemplateTypeParam() 632 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam()
|
H A D | SemaTemplateDeduction.cpp | 931 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 D | Sema.cpp | 265 AccessCheckingSFINAE(false), CurrentInstantiationScope(nullptr), in Sema()
|
H A D | SemaTemplate.cpp | 5539 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 5540 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
H A D | SemaStmt.cpp | 445 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
H A D | SemaChecking.cpp | 13492 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 13510 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
H A D | SemaDeclCXX.cpp | 1660 (CurrentInstantiationScope && in CheckCXXDefaultArguments() 1661 CurrentInstantiationScope->isLocalPackExpansion(Param))) in CheckCXXDefaultArguments()
|
H A D | SemaDecl.cpp | 15391 CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|
H A D | SemaExpr.cpp | 5445 if (!SemaRef.CurrentInstantiationScope || in TransformSourceLocExpr()
|