Lines Matching refs:CurScope
541 CXXMethodDecl *CallOperator, Scope *CurScope) {
548 if (CurScope && Param->getIdentifier()) {
561 CheckShadow(CurScope, Param);
563 PushOnScopeChains(Param, CurScope);
891 Scope *CurScope) {
899 auto *TemplateParamScope = CurScope->getTemplateParamParent();
907 KnownDependent = CurScope->getTemplateParamParent() != nullptr;
958 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope);
994 ProcessDeclAttributes(CurScope, Method, ParamInfo);
1008 PushDeclContext(CurScope, Method);
1128 PushOnScopeChains(Var, CurScope, false);
1155 LookupName(R, CurScope);
1162 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, Validator))
1238 addLambdaParameters(Intro.Captures, Method, CurScope);
1248 void Sema::ActOnLambdaError(SourceLocation StartLoc, Scope *CurScope,
1627 Scope *CurScope) {