Searched refs:CurrentInstantiationScope (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Template.h | 292 : 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 D | Sema.h | 7615 LocalInstantiationScope *CurrentInstantiationScope; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 469 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 D | SemaTemplateInstantiate.cpp | 777 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 D | SemaTemplateVariadic.cpp | 669 = 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 D | SemaTemplateDeduction.cpp | 764 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 D | Sema.cpp | 145 CurrentInstantiationScope(nullptr), DisableTypoCorrection(false),
|
| H A D | SemaTemplate.cpp | 1823 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 D | SemaStmt.cpp | 385 if (NumElts != 0 && !CurrentInstantiationScope && in ActOnCompoundStmt()
|
| H A D | SemaChecking.cpp | 13188 if (CurrentInstantiationScope) in DiagnoseEmptyStmtBody() 13206 assert(!CurrentInstantiationScope); // Ensured by caller in DiagnoseEmptyLoopBody()
|
| H A D | SemaDecl.cpp | 12830 S.CurrentInstantiationScope->InstantiatedLocal(VD, VD); in RebuildLambdaScopeInfo()
|