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()
442 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
DSema.h7004 LocalInstantiationScope *CurrentInstantiationScope; variable
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp671 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack()
677 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack()
696 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack()
728 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl()
904 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
956 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
965 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
1249 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr()
1692 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl()
1695 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl()
[all …]
DSemaTemplateInstantiateDecl.cpp385 if (CurrentInstantiationScope) in InstantiateAttrs()
386 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs()
734 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl()
958 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl()
1016 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition()
1416 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl()
2035 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl()
2186 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl()
2323 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitTemplateTemplateParmDecl()
2450 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Shadow, InstShadow); in VisitUsingDecl()
[all …]
DSemaTemplateVariadic.cpp578 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
607 if (!IsFunctionParameterPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion()
609 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion()
669 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
DSemaTemplateDeduction.cpp614 if (S.CurrentInstantiationScope) { in PackDeductionScope()
620 S.CurrentInstantiationScope->getPartiallySubstitutedPack( in PackDeductionScope()
2548 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments()
2797 if (Param->isParameterPack() && CurrentInstantiationScope) { in FinishTemplateArgumentDeduction()
2798 if (CurrentInstantiationScope->getPartiallySubstitutedPack() == in FinishTemplateArgumentDeduction()
2802 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in FinishTemplateArgumentDeduction()
2832 if (CurrentInstantiationScope && in FinishTemplateArgumentDeduction()
2833 CurrentInstantiationScope->getPartiallySubstitutedPack(&ExplicitArgs, in FinishTemplateArgumentDeduction()
2841 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in FinishTemplateArgumentDeduction()
DSema.cpp107 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false),
DSemaTemplate.cpp4010 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList()
4011 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
DSemaStmt.cpp366 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
DSemaChecking.cpp10348 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
10366 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
DSemaDecl.cpp11212 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()