Home
last modified time | relevance | path

Searched refs:CurrentInstantiationScope (Results 1 – 23 of 23) 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/llvm-project/clang/include/clang/Sema/
DTemplate.h334 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef()
336 SemaRef.CurrentInstantiationScope = this; in SemaRef()
357 SemaRef.CurrentInstantiationScope = Outer; in Exit()
368 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
397 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes()
545 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
DSema.h8931 LocalInstantiationScope *CurrentInstantiationScope; variable
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp700 if (CurrentInstantiationScope) in InstantiateAttrs()
701 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs()
951 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl()
1117 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl()
1340 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl()
1398 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition()
1802 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl()
2663 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl()
2822 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl()
2956 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitTemplateTemplateParmDecl()
[all …]
DSemaTemplateVariadic.cpp711 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
740 if (!IsVarDeclPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion()
742 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion()
793 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion()
829 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
DSemaTemplateInstantiate.cpp965 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack()
971 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack()
990 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack()
1009 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl()
1011 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl()
1034 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl()
1255 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
1307 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1316 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
1678 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr()
[all …]
DSemaTemplateDeduction.cpp796 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction()
2816 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument
2838 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments()
2839 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments()
2842 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments()
3295 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments()
3590 CurrentInstantiationScope, NumExplicitlySpecified, in FinishTemplateArgumentDeduction()
DSemaTemplate.cpp2272 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter()
2402 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam()
5901 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList()
5902 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
DSema.cpp179 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr),
DSemaStmt.cpp430 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
DSemaDeclCXX.cpp1597 !(CurrentInstantiationScope && in CheckCXXDefaultArguments()
1598 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
DSemaChecking.cpp15060 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
15078 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
DSemaDecl.cpp13982 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
/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()