Home
last modified time | relevance | path

Searched refs:CurrentInstantiationScope (Results 1 – 11 of 11) sorted by relevance

/external/clang/include/clang/Sema/
DTemplate.h247 : 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()
DSema.h6602 LocalInstantiationScope *CurrentInstantiationScope; variable
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp674 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 …]
DSemaTemplateInstantiateDecl.cpp249 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 …]
DSemaTemplateVariadic.cpp578 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
609 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion()
669 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
DSemaTemplateDeduction.cpp618 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()
DSema.cpp104 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false), in Sema()
DSemaTemplate.cpp3894 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList()
3895 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
DSemaStmt.cpp355 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
DSemaChecking.cpp8755 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
8773 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
DSemaDecl.cpp10324 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()