Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTemplate.h292 : SemaRef(SemaRef), Outer(SemaRef.CurrentInstantiationScope), in SemaRef()
294 SemaRef.CurrentInstantiationScope = this; in SemaRef()
315 SemaRef.CurrentInstantiationScope = Outer; in Exit()
326 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
355 SemaRef.CurrentInstantiationScope = oldScope; in cloneScopes()
490 StartingScope = SemaRef.CurrentInstantiationScope; in enableLateAttributeInstantiation()
H A DSema.h7615 LocalInstantiationScope *CurrentInstantiationScope; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp469 if (CurrentInstantiationScope) in InstantiateAttrs()
689 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, NewBD); in VisitBindingDecl()
1075 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Enum); in VisitEnumDecl()
2220 SemaRef.CurrentInstantiationScope->InstantiatedLocal(D, Inst); in VisitTemplateTypeParmDecl()
2880 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl()
2883 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl()
2896 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl()
2899 SemaRef.CurrentInstantiationScope->InstantiatedLocal( in VisitOMPDeclareReductionDecl()
5014 if (CurrentInstantiationScope) { in FindInstantiatedDecl()
5057 CurrentInstantiationScope->InstantiatedLocal(D, Inst); in FindInstantiatedDecl()
[all …]
H A DSemaTemplateInstantiate.cpp777 SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack); in ExpandingFunctionParameterPack()
783 = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){ in ForgetPartiallySubstitutedPack()
834 SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New); in transformedLocalDecl()
1011 getSema().CurrentInstantiationScope->InstantiatedLocal(D, Inst); in TransformDefinition()
1063 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildExceptionDecl()
1072 getSema().CurrentInstantiationScope->InstantiatedLocal(ExceptionDecl, Var); in RebuildObjCExceptionDecl()
1369 = getSema().CurrentInstantiationScope->findInstantiationOf(PD); in TransformFunctionParmPackRefExpr()
1820 CurrentInstantiationScope->InstantiatedLocalPackArg(OldParm, NewParm); in SubstParmVarDecl()
1823 CurrentInstantiationScope->InstantiatedLocal(OldParm, NewParm); in SubstParmVarDecl()
2144 assert(CurrentInstantiationScope == Instantiator.getStartingScope()); in InstantiateClass()
[all …]
H A DSemaTemplateVariadic.cpp669 = CurrentInstantiationScope->findInstantiationOf( in CheckParameterPacksForExpansion()
698 if (!IsFunctionParameterPack && CurrentInstantiationScope) { in CheckParameterPacksForExpansion()
700 = CurrentInstantiationScope->getPartiallySubstitutedPack()){ in CheckParameterPacksForExpansion()
751 CurrentInstantiationScope->getPartiallySubstitutedPack(); in CheckParameterPacksForExpansion()
787 = CurrentInstantiationScope->findInstantiationOf( in getNumArgumentsInExpansion()
H A DSemaTemplateDeduction.cpp764 if (auto *Scope = S.CurrentInstantiationScope) in finishConstruction()
2603 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments() argument
2625 if (Param->isParameterPack() && CurrentInstantiationScope && in ConvertDeducedTemplateArguments()
2626 CurrentInstantiationScope->getPartiallySubstitutedPack() == Param) { in ConvertDeducedTemplateArguments()
2629 CurrentInstantiationScope->ResetPartiallySubstitutedPack(); in ConvertDeducedTemplateArguments()
3045 CurrentInstantiationScope->SetPartiallySubstitutedPack( in SubstituteExplicitTemplateArguments()
3333 CurrentInstantiationScope, NumExplicitlySpecified, in FinishTemplateArgumentDeduction()
H A DSema.cpp145 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false),
H A DSemaTemplate.cpp1823 SemaRef.CurrentInstantiationScope->InstantiatedLocal(TemplateParam, in transformTemplateParameter()
1944 SemaRef.CurrentInstantiationScope->InstantiatedLocal(OldParam, NewParam); in transformFunctionTypeParam()
5267 if (ArgIdx < NumArgs && CurrentInstantiationScope && in CheckTemplateArgumentList()
5268 CurrentInstantiationScope->getPartiallySubstitutedPack()) { in CheckTemplateArgumentList()
H A DSemaStmt.cpp385 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
H A DSemaChecking.cpp13188 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody()
13206 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
H A DSemaDecl.cpp12830 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()