Home
last modified time | relevance | path

Searched refs:LocalInstantiationScope (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h365 class LocalInstantiationScope {
405 LocalInstantiationScope *Outer;
428 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false)
434 LocalInstantiationScope(const LocalInstantiationScope &) = delete;
435 LocalInstantiationScope &
436 operator=(const LocalInstantiationScope &) = delete;
438 ~LocalInstantiationScope() { in ~LocalInstantiationScope()
458 LocalInstantiationScope *cloneScopes(LocalInstantiationScope *Outermost) { in cloneScopes()
463 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
465 LocalInstantiationScope *newScope = in cloneScopes()
[all …]
H A DSema.h151 class LocalInstantiationScope; variable
8881 LocalInstantiationScope &Scope,
12637 LocalInstantiationScope *CurrentInstantiationScope;
13615 LocalInstantiationScope *Scope;
13618 LateInstantiatedAttribute(const Attr *A, LocalInstantiationScope *S, in LateInstantiatedAttribute()
13627 LocalInstantiationScope *OuterMostScope = nullptr);
13641 LocalInstantiationScope *OuterMostScope = nullptr);
13694 LocalInstantiationScope *StartingScope = nullptr);
13710 LocalInstantiationScope *StartingScope,
13809 LocalInstantiationScope &Scope);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1659 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformLambdaExpr()
1707 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformRequiresExpr()
2345 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in TransformFunctionParmPackRefExpr()
2412 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformFunctionProtoType()
3233 std::unique_ptr<LocalInstantiationScope> LIS; in SubstDefaultArgument()
3242 LIS = std::make_unique<LocalInstantiationScope>(*this); in SubstDefaultArgument()
3467 LocalInstantiationScope Scope(*this, MergeWithParentScope); in InstantiateClass()
3593 LocalInstantiationScope::deleteScopes(I->Scope, in InstantiateClass()
3697 LocalInstantiationScope Scope(*this, /*MergeWithParentScope*/true); in InstantiateEnum()
3757 LocalInstantiationScope Scope(*this, true); in InstantiateInClassInitializer()
[all …]
H A DSemaTemplateInstantiateDecl.cpp345 LocalInstantiationScope Local(S); in instantiateOMPDeclareSimdDeclAttr()
426 LocalInstantiationScope Local(S); in instantiateOMPDeclareVariantAttr()
705 LocalInstantiationScope *OuterMostScope) { in InstantiateAttrsForDecl()
745 LocalInstantiationScope *OuterMostScope) { in InstantiateAttrs()
877 LocalInstantiationScope *Saved = nullptr; in InstantiateAttrs()
1103 LocalInstantiationScope Scope(SemaRef); in InstantiateTypeAliasTemplateDecl()
1654 LocalInstantiationScope Scope(SemaRef); in VisitClassTemplateDecl()
1842 LocalInstantiationScope Scope(SemaRef); in VisitVarTemplateDecl()
1923 LocalInstantiationScope Scope(SemaRef); in VisitFunctionTemplateDecl()
2123 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope); in VisitFunctionDecl()
[all …]
H A DSemaConcept.cpp709 LocalInstantiationScope &Scope, in addInstantiatedCapturesToScope()
747 LocalInstantiationScope &Scope) { in SetupConstraintScope()
818 LocalInstantiationScope &Scope) { in SetupConstraintCheckingTemplateArgumentsAndScope()
874 LocalInstantiationScope Scope(*this, !ForOverloadResolution); in CheckFunctionConstraints()
970 LocalInstantiationScope ScopeForParameters(S, /*CombineWithOuterScope=*/true); in SubstituteConstraintExpressionWithoutSatisfaction()
1114 LocalInstantiationScope Scope(*this); in CheckInstantiatedFunctionTemplateConstraints()
H A DSemaTemplateDeductionGuide.cpp331 LocalInstantiationScope Scope(SemaRef); in transformConstructor()
757 LocalInstantiationScope Scope(SemaRef); in buildAssociatedConstraints()
908 LocalInstantiationScope Scope(SemaRef); in buildIsDeducibleConstraint()
987 LocalInstantiationScope Scope(SemaRef); in BuildDeductionGuideForTypeAlias()
H A DSemaTemplateDeduction.cpp2881 LocalInstantiationScope Scope(S); in ConvertDeducedTemplateArgument()
2924 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments()
3149 LocalInstantiationScope InstScope(S); in FinishTemplateArgumentDeduction()
3317 LocalInstantiationScope InstantiationScope(S); in DeduceTemplateArguments()
3384 LocalInstantiationScope InstantiationScope(*this); in DeduceTemplateArgumentsFromType()
3526 LocalInstantiationScope InstScope(*this, /*MergeWithOuterScope*/true); in SubstituteExplicitTemplateArguments()
4401 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
4637 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
4868 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
5125 LocalInstantiationScope InstScope(*this); in DeduceAutoType()
H A DSemaTemplateVariadic.cpp730 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in CheckParameterPacksForExpansion()
848 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in getNumArgumentsInExpansion()
H A DSemaLambda.cpp2378 LocalInstantiationScope &Scope, bool ShouldAddDeclsFromParentScope) in LambdaScopeForCallOperatorInstantiationRAII()
H A DSemaTemplate.cpp3342 LocalInstantiationScope Scope(*this); in CheckTemplateIdType()
4368 LocalInstantiationScope Scope(*this); in CheckConceptTemplateId()
5175 LocalInstantiationScope Scope(*this); in CheckTemplateArgument()
5305 LocalInstantiationScope InstScope(*this, true); in CheckTemplateArgumentList()