Lines Matching refs:CurScope
92 Scope *CurScope;
95 Scope *CurScope, SourceLocation Loc)
97 Directive(DKind), DirectiveName(std::move(Name)), CurScope(CurScope),
101 Directive(OMPD_unknown), DirectiveName(), CurScope(nullptr),
122 Scope *CurScope, SourceLocation Loc) {
123 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc));
193 Scope *getCurScope() const { return Stack.back().CurScope; }
194 Scope *getCurScope() { return Stack.back().CurScope; }
336 TopScope = I->CurScope ? I->CurScope->getParent() : nullptr;
337 Scope *CurScope = getCurScope();
338 while (CurScope != TopScope && !CurScope->isDeclScope(D)) {
339 CurScope = CurScope->getParent();
341 return CurScope != TopScope;
478 Scope *CurScope, SourceLocation Loc) {
479 DSAStack->push(DKind, DirName, CurScope, Loc);
559 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope,
563 LookupParsedName(Lookup, CurScope, &ScopeSpec, true);
572 CorrectTypo(Id, LookupOrdinaryName, CurScope, nullptr, Validator,
658 if (CanonicalVD->isStaticLocal() && CurScope &&
659 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) {
913 void Sema::ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope) {
923 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
931 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
939 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
947 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
955 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
963 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
975 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,
983 ActOnCapturedRegionStart(DSAStack->getConstructLoc(), CurScope, CR_OpenMP,