Searched refs:CurrentInstantiationScope (Results 1 – 11 of 11) sorted by relevance
/external/clang/include/clang/Sema/ |
D | Template.h | 247 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef() 251 SemaRef.CurrentInstantiationScope = this; in SemaRef() 268 SemaRef.CurrentInstantiationScope = Outer; in Exit() 279 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes() 308 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes() 441 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
|
D | Sema.h | 6602 LocalInstantiationScope *CurrentInstantiationScope; variable
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 674 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 680 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack() 699 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack() 717 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 918 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 970 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 979 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl() 1263 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() 1701 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() 1704 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 249 if (CurrentInstantiationScope) in InstantiateAttrs() 250 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs() 595 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl() 810 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl() 868 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition() 1262 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl() 1895 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 2049 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl() 2187 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitTemplateTemplateParmDecl() 2304 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow); in VisitUsingDecl() [all …]
|
D | SemaTemplateVariadic.cpp | 578 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 609 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion() 669 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
D | SemaTemplateDeduction.cpp | 618 if (S.CurrentInstantiationScope) { in PackDeductionScope() 624 S.CurrentInstantiationScope->getPartiallySubstitutedPack( in PackDeductionScope() 2543 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 2788 if (Param->isParameterPack() && CurrentInstantiationScope) { in FinishTemplateArgumentDeduction() 2789 if (CurrentInstantiationScope->getPartiallySubstitutedPack() == in FinishTemplateArgumentDeduction() 2793 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in FinishTemplateArgumentDeduction() 2849 if (CurrentInstantiationScope && in FinishTemplateArgumentDeduction() 2850 CurrentInstantiationScope->getPartiallySubstitutedPack(&ExplicitArgs, in FinishTemplateArgumentDeduction() 2857 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in FinishTemplateArgumentDeduction()
|
D | Sema.cpp | 104 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false), in Sema()
|
D | SemaTemplate.cpp | 3894 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 3895 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
D | SemaStmt.cpp | 355 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
D | SemaChecking.cpp | 8755 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 8773 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
D | SemaDecl.cpp | 10324 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|