Home
last modified time | relevance | path

Searched refs:CurrentInstantiationScope (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A 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()
H A DSema.h9083 LocalInstantiationScope *CurrentInstantiationScope; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp731 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 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()
H A DSemaTemplateInstantiate.cpp966 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 DSemaTemplateDeduction.cpp781 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 DSema.cpp182 ArgumentPackSubstitutionIndex(-1), CurrentInstantiationScope(nullptr),
H A DSemaTemplate.cpp2293 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 DSemaStmt.cpp431 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
H A DSemaDeclCXX.cpp1614 !(CurrentInstantiationScope && in CheckCXXDefaultArguments()
1615 CurrentInstantiationScope->isLocalPackExpansion(Param))) { in CheckCXXDefaultArguments()
H A DSemaChecking.cpp15329 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
15347 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
H A DSemaDecl.cpp14113 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()