Searched refs:CurrentInstantiationScope (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Template.h | 435 : 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 D | Sema.h | 12894 LocalInstantiationScope *CurrentInstantiationScope; variable
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 783 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 D | SemaTemplateInstantiateDecl.cpp | 946 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 D | SemaTemplateInstantiate.cpp | 1459 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 D | SemaTemplateDeductionGuide.cpp | 266 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TTP, NewTTP); in transformTemplateTypeParam() 678 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam()
|
| H A D | SemaTemplateDeduction.cpp | 885 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 D | Sema.cpp | 326 AccessCheckingSFINAE(false), CurrentInstantiationScope(nullptr), in Sema()
|
| H A D | SemaStmt.cpp | 476 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
| H A D | SemaTemplate.cpp | 5954 (CurrentInstantiationScope && in CheckTemplateArgumentList() 5955 CurrentInstantiationScope->getPartiallySubstitutedPack())) { in CheckTemplateArgumentList()
|
| H A D | SemaChecking.cpp | 14925 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 14943 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
| H A D | SemaDeclCXX.cpp | 1780 (CurrentInstantiationScope && in CheckCXXDefaultArguments() 1781 CurrentInstantiationScope->isLocalPackExpansion(Param))) in CheckCXXDefaultArguments()
|
| H A D | SemaDecl.cpp | 15842 CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|
| H A D | SemaExpr.cpp | 5546 if (!SemaRef.CurrentInstantiationScope || in TransformSourceLocExpr()
|