Home | History | Annotate | Download | only in Sema

Lines Matching refs:Scope

446   // Create a local instantiation scope for this type alias template, which
448 LocalInstantiationScope Scope(SemaRef);
933 // Create a local instantiation scope for this class template, which
935 LocalInstantiationScope Scope(SemaRef);
1140 // Create a local instantiation scope for this variable template, which
1142 LocalInstantiationScope Scope(SemaRef);
1219 // Create a local instantiation scope for this function template, which
1221 // merged with the local instantiation scope for the function template
1223 LocalInstantiationScope Scope(SemaRef);
1341 // performed within this scope.
1403 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
1571 SemaRef.CheckFunctionDeclaration(/*Scope*/ nullptr, Function, Previous,
1679 LocalInstantiationScope Scope(SemaRef, MergeWithParentScope);
1834 // context (which will be a namespace scope) as the template.
1910 // class-scope specializations because we'll have matched them with
1959 // scope.
2113 // scope.
2151 LocalInstantiationScope Scope(SemaRef);
2185 LocalInstantiationScope Scope(SemaRef);
2202 LocalInstantiationScope Scope(SemaRef);
2209 // local instantiation scope.
2210 LocalInstantiationScope Scope(SemaRef);
2250 // scope.
2297 // scope (in fact, it's not really even possible in non-class
2363 SemaRef.BuildUsingShadowDecl(/*Scope*/nullptr, NewUD, InstTarget,
2394 SemaRef.BuildUsingDeclaration(/*Scope*/ nullptr, D->getAccess(),
2418 SemaRef.BuildUsingDeclaration(/*Scope*/ nullptr, D->getAccess(),
2456 assert(Specialization && "Class scope Specialization is null");
2495 // As a MS extension, we permit class-scope explicit specialization
2622 // Instantiate the members of the class-scope explicit specialization eagerly.
2790 // Create a local instantiation scope for this class template partial
2793 LocalInstantiationScope Scope(SemaRef);
2917 // Create a local instantiation scope for this variable template partial
2920 LocalInstantiationScope Scope(SemaRef);
3064 LocalInstantiationScope *Scope = SemaRef.CurrentInstantiationScope;
3076 Scope->InstantiatedLocal(OldParam, NewParam);
3079 Scope->MakeInstantiatedLocalArgPack(OldParam);
3083 Scope->InstantiatedLocalPackArg(OldParam, NewParam);
3131 /// instantiation scope, and set the parameter names to those used
3135 LocalInstantiationScope &Scope,
3160 Scope.InstantiatedLocal(PatternParam, FunctionParam);
3166 Scope.MakeInstantiatedLocalArgPack(PatternParam);
3186 Scope.InstantiatedLocalPackArg(PatternParam, FunctionParam);
3209 // Enter the scope of this instantiation. We don't use
3210 // PushDeclContext because we don't have a scope.
3212 LocalInstantiationScope Scope(*this);
3218 if (addInstantiatedParametersToScope(*this, Decl, Template, Scope,
3354 // Never instantiate an explicit specialization except if it is a class scope
3461 // Introduce a new scope where local variable instantiations will be
3464 // scope (of the enclosing function).
3469 LocalInstantiationScope Scope(*this, MergeWithParentScope);
3485 // Enter the scope of this instantiation. We don't use
3486 // PushDeclContext because we don't have a scope.
3489 if (addInstantiatedParametersToScope(*this, Function, PatternDecl, Scope,
3521 // instantiation within this scope.
3523 Scope.Exit();
3621 // context (which will be a namespace scope) as the template.
3842 // Enter the scope of this instantiation. We don't use
3843 // PushDeclContext because we don't have a scope.
3852 // instantiated within this scope.
3955 // Enter the scope of this instantiation. We don't use
3956 // PushDeclContext because we don't have a scope.
4006 // instantiated within this scope.
4544 // Move to the outer template scope.