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()
434 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
DSema.h6499 LocalInstantiationScope *CurrentInstantiationScope; variable
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp690 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 …]
DSemaTemplateVariadic.cpp569 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
600 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion()
660 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
DSemaTemplateInstantiateDecl.cpp191 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 …]
DSemaTemplateDeduction.cpp644 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()
DSema.cpp104 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false), in Sema()
DSemaTemplate.cpp3884 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList()
3885 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
DSemaStmt.cpp341 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
DSemaChecking.cpp7685 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
7703 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
DSemaDecl.cpp9833 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()