Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A 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()
|
| H A D | Sema.h | 9083 LocalInstantiationScope *CurrentInstantiationScope; variable
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 731 if (CurrentInstantiationScope) in InstantiateAttrs() 732 Saved = CurrentInstantiationScope->cloneScopes(OuterMostScope); in InstantiateAttrs() 983 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl() 1149 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Field); in VisitFieldDecl() 1372 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl() 1430 SemaRef.CurrentInstantiationScope->InstantiatedLocal(EC, EnumConst); in InstantiateEnumDefinition() 1804 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Record); in VisitCXXRecordDecl() 2664 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl() 2823 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitNonTypeTemplateParmDecl() 2957 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Param); in VisitTemplateTemplateParmDecl() [all …]
|
| H A 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()
|
| H A D | SemaTemplateInstantiate.cpp | 966 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack() 972 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack() 991 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in RememberPartiallySubstitutedPack() 1010 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old); in transformedLocalDecl() 1012 SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg( in transformedLocalDecl() 1035 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl() 1256 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition() 1308 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl() 1317 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl() 1681 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 781 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction() 2801 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument 2823 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments() 2824 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments() 2827 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments() 3288 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments() 3583 CurrentInstantiationScope, NumExplicitlySpecified, in FinishTemplateArgumentDeduction()
|
| H A D | Sema.cpp | 182 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr),
|
| H A D | SemaTemplate.cpp | 2293 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter() 2423 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam() 5891 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList() 5892 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
|
| H A D | SemaStmt.cpp | 431 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
| H A D | SemaDeclCXX.cpp | 1614 !(CurrentInstantiationScope && in CheckCXXDefaultArguments() 1615 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
|
| H A D | SemaChecking.cpp | 15329 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 15347 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
| H A D | SemaDecl.cpp | 14113 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|