Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance
| /freebsd-14.2/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 | 10090 LocalInstantiationScope *CurrentInstantiationScope; variable
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 843 if (CurrentInstantiationScope) in InstantiateAttrs() 1121 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl() 2924 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 3639 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3642 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3655 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3658 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl() 3722 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareMapperDecl() 6163 if (CurrentInstantiationScope) { in FindInstantiatedDecl() 6209 CurrentInstantiationScope->InstantiatedLocal(D, Inst); in FindInstantiatedDecl() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 717 CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 746 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion() 748 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckParameterPacksForExpansion() 799 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion() 835 CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
| H A D | SemaTemplateInstantiate.cpp | 1267 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 1311 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl() 1313 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl() 1336 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 1646 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 1708 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 2117 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() 2985 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() 2988 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl() 3411 assert(CurrentInstantiationScope == Instantiator.getStartingScope()); in InstantiateClass() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 803 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction() 2763 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument 2785 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments() 2786 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments() 2789 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments() 3320 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 3664 SugaredBuilder, CanonicalBuilder, CurrentInstantiationScope, in FinishTemplateArgumentDeduction()
|
| H A D | SemaTemplate.cpp | 2491 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter() 2641 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam() 6265 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 6266 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
| H A D | Sema.cpp | 219 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr), in Sema()
|
| H A D | SemaStmt.cpp | 440 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
| H A D | SemaDeclCXX.cpp | 1677 !(CurrentInstantiationScope && in CheckCXXDefaultArguments() 1678 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
|
| H A D | SemaChecking.cpp | 18853 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 18871 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
| H A D | SemaDecl.cpp | 15621 CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|