Lines Matching refs:CurScope
474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) {
481 if (CurScope && Param->getIdentifier()) {
482 CheckShadow(CurScope, Param);
484 PushOnScopeChains(Param, CurScope);
835 Declarator &ParamInfo, Scope *CurScope) {
844 if (Scope *TmplScope = CurScope->getTemplateParamParent()) {
896 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope);
922 ProcessDeclAttributes(CurScope, Method, ParamInfo);
925 PushDeclContext(CurScope, Method);
1022 PushOnScopeChains(Var, CurScope, false);
1046 LookupName(R, CurScope);
1053 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, Validator))
1126 addLambdaParameters(Method, CurScope);
1133 void Sema::ActOnLambdaError(SourceLocation StartLoc, Scope *CurScope,
1374 Scope *CurScope,