Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DTemplate.h178 class LocalInstantiationScope {
218 LocalInstantiationScope *Outer;
241 LocalInstantiationScope(
242 const LocalInstantiationScope &) = delete;
243 void operator=(const LocalInstantiationScope &) = delete;
246 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false)
254 ~LocalInstantiationScope() { in ~LocalInstantiationScope()
274 LocalInstantiationScope *cloneScopes(LocalInstantiationScope *Outermost) { in cloneScopes()
279 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
281 LocalInstantiationScope *newScope = in cloneScopes()
[all …]
DSema.h127 class LocalInstantiationScope; variable
7004 LocalInstantiationScope *CurrentInstantiationScope;
7212 LocalInstantiationScope *Scope;
7215 LateInstantiatedAttribute(const Attr *A, LocalInstantiationScope *S, in LateInstantiatedAttribute()
7225 LocalInstantiationScope *OuterMostScope = nullptr);
7272 LocalInstantiationScope *StartingScope = nullptr);
7281 LocalInstantiationScope *StartingScope,
/external/llvm-project/clang/include/clang/Sema/
DTemplate.h270 class LocalInstantiationScope {
310 LocalInstantiationScope *Outer;
333 LocalInstantiationScope(Sema &SemaRef, bool CombineWithOuterScope = false)
339 LocalInstantiationScope(const LocalInstantiationScope &) = delete;
340 LocalInstantiationScope &
341 operator=(const LocalInstantiationScope &) = delete;
343 ~LocalInstantiationScope() { in ~LocalInstantiationScope()
363 LocalInstantiationScope *cloneScopes(LocalInstantiationScope *Outermost) { in cloneScopes()
368 LocalInstantiationScope *oldScope = SemaRef.CurrentInstantiationScope; in cloneScopes()
370 LocalInstantiationScope *newScope = in cloneScopes()
[all …]
DSema.h144 class LocalInstantiationScope; variable
8931 LocalInstantiationScope *CurrentInstantiationScope;
9180 LocalInstantiationScope *Scope;
9183 LateInstantiatedAttribute(const Attr *A, LocalInstantiationScope *S, in LateInstantiatedAttribute()
9193 LocalInstantiationScope *OuterMostScope = nullptr);
9199 LocalInstantiationScope *OuterMostScope = nullptr);
9260 LocalInstantiationScope *StartingScope = nullptr);
9269 LocalInstantiationScope *StartingScope,
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp823 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformLambdaExpr()
1247 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in TransformFunctionParmPackRefExpr()
1313 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformFunctionProtoType()
1673 LocalInstantiationScope Local(*this); in SubstParmVarDecl()
1966 LocalInstantiationScope Scope(*this, MergeWithParentScope); in InstantiateClass()
2080 LocalInstantiationScope::deleteScopes(I->Scope, in InstantiateClass()
2191 LocalInstantiationScope Scope(*this, /*MergeWithParentScope*/true); in InstantiateEnum()
2261 LocalInstantiationScope Scope(*this, true); in InstantiateInClassInitializer()
2764 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> *
2765 LocalInstantiationScope::findInstantiationOf(const Decl *D) { in findInstantiationOf()
[all …]
DSemaTemplateInstantiateDecl.cpp254 LocalInstantiationScope Local(S); in instantiateOMPDeclareSimdDeclAttr()
313 LocalInstantiationScope *OuterMostScope) { in InstantiateAttrs()
384 LocalInstantiationScope *Saved = nullptr; in InstantiateAttrs()
562 LocalInstantiationScope Scope(SemaRef); in VisitTypeAliasTemplateDecl()
1042 LocalInstantiationScope Scope(SemaRef); in VisitClassTemplateDecl()
1249 LocalInstantiationScope Scope(SemaRef); in VisitVarTemplateDecl()
1330 LocalInstantiationScope Scope(SemaRef); in VisitFunctionTemplateDecl()
1510 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope); in VisitFunctionDecl()
1785 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope); in VisitCXXMethodDecl()
2223 LocalInstantiationScope Scope(SemaRef); in VisitTemplateTemplateParmDecl()
[all …]
DSemaTemplateVariadic.cpp575 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in CheckParameterPacksForExpansion()
666 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in getNumArgumentsInExpansion()
DSemaTemplateDeduction.cpp2140 LocalInstantiationScope Scope(S); in ConvertDeducedTemplateArgument()
2211 LocalInstantiationScope InstScope(S); in FinishTemplateArgumentDeduction()
2350 LocalInstantiationScope InstScope(S); in FinishTemplateArgumentDeduction()
2561 LocalInstantiationScope InstScope(*this, /*MergeWithOuterScope*/true); in SubstituteExplicitTemplateArguments()
3353 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
3576 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
3856 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
4031 LocalInstantiationScope InstScope(*this); in DeduceAutoType()
DSemaTemplate.cpp2170 LocalInstantiationScope Scope(*this); in CheckTemplateIdType()
3651 LocalInstantiationScope Scope(*this); in CheckTemplateArgument()
3803 LocalInstantiationScope InstScope(*this, true); in CheckTemplateArgumentList()
DSemaExpr.cpp4533 LocalInstantiationScope Local(*this); in BuildCXXDefaultArgExpr()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1131 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformLambdaExpr()
1136 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformRequiresExpr()
1676 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in TransformFunctionParmPackRefExpr()
1743 LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true); in TransformFunctionProtoType()
2418 LocalInstantiationScope Local(*this, true); in SubstParmVarDecl()
2673 LocalInstantiationScope Scope(*this, MergeWithParentScope); in InstantiateClass()
2798 LocalInstantiationScope::deleteScopes(I->Scope, in InstantiateClass()
2916 LocalInstantiationScope Scope(*this, /*MergeWithParentScope*/true); in InstantiateEnum()
2989 LocalInstantiationScope Scope(*this, true); in InstantiateInClassInitializer()
3559 llvm::PointerUnion<Decl *, LocalInstantiationScope::DeclArgumentPack *> *
[all …]
DSemaTemplateInstantiateDecl.cpp303 LocalInstantiationScope Local(S); in instantiateOMPDeclareSimdDeclAttr()
384 LocalInstantiationScope Local(S); in instantiateOMPDeclareVariantAttr()
554 LocalInstantiationScope *OuterMostScope) { in InstantiateAttrsForDecl()
588 LocalInstantiationScope *OuterMostScope) { in InstantiateAttrs()
699 LocalInstantiationScope *Saved = nullptr; in InstantiateAttrs()
908 LocalInstantiationScope Scope(SemaRef); in VisitTypeAliasTemplateDecl()
1421 LocalInstantiationScope Scope(SemaRef); in VisitClassTemplateDecl()
1633 LocalInstantiationScope Scope(SemaRef); in VisitVarTemplateDecl()
1714 LocalInstantiationScope Scope(SemaRef); in VisitFunctionTemplateDecl()
1900 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope); in VisitFunctionDecl()
[all …]
DSemaTemplateVariadic.cpp708 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in CheckParameterPacksForExpansion()
826 typedef LocalInstantiationScope::DeclArgumentPack DeclArgumentPack; in getNumArgumentsInExpansion()
DSemaTemplateDeduction.cpp2777 LocalInstantiationScope Scope(S); in ConvertDeducedTemplateArgument()
2816 LocalInstantiationScope *CurrentInstantiationScope = nullptr, in ConvertDeducedTemplateArguments()
2978 LocalInstantiationScope InstScope(S); in FinishTemplateArgumentDeduction()
3306 LocalInstantiationScope InstScope(*this, /*MergeWithOuterScope*/true); in SubstituteExplicitTemplateArguments()
4112 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
4316 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
4529 LocalInstantiationScope InstScope(*this); in DeduceTemplateArguments()
4817 LocalInstantiationScope InstScope(*this); in DeduceAutoType()
DSemaTemplate.cpp2135 LocalInstantiationScope Scope(SemaRef); in transformConstructor()
3682 LocalInstantiationScope Scope(*this); in CheckTemplateIdType()
5528 LocalInstantiationScope Scope(*this); in CheckTemplateArgument()
5690 LocalInstantiationScope InstScope(*this, true); in CheckTemplateArgumentList()