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() 434 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
|
D | Sema.h | 6499 LocalInstantiationScope *CurrentInstantiationScope; variable
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 690 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 696 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack() 715 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack() 733 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 926 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 978 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 987 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl() 1253 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() 1667 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl() 1670 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl() [all …]
|
D | SemaTemplateVariadic.cpp | 569 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 600 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion() 660 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
D | SemaTemplateInstantiateDecl.cpp | 191 if (CurrentInstantiationScope) in InstantiateAttrs() 192 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs() 511 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl() 725 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl() 783 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition() 1177 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl() 1807 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 1961 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl() 2099 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitTemplateTemplateParmDecl() 2215 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow); in VisitUsingDecl() [all …]
|
D | SemaTemplateDeduction.cpp | 644 if (S.CurrentInstantiationScope) { in PackDeductionScope() 650 S.CurrentInstantiationScope->getPartiallySubstitutedPack( in PackDeductionScope() 2581 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 2822 if (Param->isParameterPack() && CurrentInstantiationScope) { in FinishTemplateArgumentDeduction() 2823 if (CurrentInstantiationScope->getPartiallySubstitutedPack() == in FinishTemplateArgumentDeduction() 2827 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in FinishTemplateArgumentDeduction() 2883 if (CurrentInstantiationScope && in FinishTemplateArgumentDeduction() 2884 CurrentInstantiationScope->getPartiallySubstitutedPack(&ExplicitArgs, in FinishTemplateArgumentDeduction() 2891 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in FinishTemplateArgumentDeduction()
|
D | Sema.cpp | 104 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false), in Sema()
|
D | SemaTemplate.cpp | 3884 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 3885 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
D | SemaStmt.cpp | 341 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
D | SemaChecking.cpp | 7685 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 7703 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
D | SemaDecl.cpp | 9833 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|