/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() 279 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes() 308 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes() 442 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
|
D | Sema.h | 7004 LocalInstantiationScope *CurrentInstantiationScope; variable
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Template.h | 334 : 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()
|
D | Sema.h | 8931 LocalInstantiationScope *CurrentInstantiationScope; variable
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 700 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 …]
|
D | SemaTemplateVariadic.cpp | 711 = 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()
|
D | SemaTemplateInstantiate.cpp | 965 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 …]
|
D | SemaTemplateDeduction.cpp | 796 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()
|
D | SemaTemplate.cpp | 2272 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()
|
D | Sema.cpp | 179 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr),
|
D | SemaStmt.cpp | 430 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
D | SemaDeclCXX.cpp | 1597 !(CurrentInstantiationScope && in CheckCXXDefaultArguments() 1598 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
|
D | SemaChecking.cpp | 15060 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 15078 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
D | SemaDecl.cpp | 13982 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiate.cpp | 671 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 …]
|
D | SemaTemplateInstantiateDecl.cpp | 385 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 …]
|
D | SemaTemplateVariadic.cpp | 578 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion() 607 if (!IsFunctionParameterPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion() 609 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion() 669 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
|
D | SemaTemplateDeduction.cpp | 614 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()
|
D | Sema.cpp | 107 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false),
|
D | SemaTemplate.cpp | 4010 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 4011 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
D | SemaStmt.cpp | 366 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
D | SemaChecking.cpp | 10348 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 10366 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
D | SemaDecl.cpp | 11212 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|