Lines Matching refs:CurScope

64     Scope *CurScope;  member
67 Scope *CurScope) in SharingMapTy()
69 DirectiveName(Name), CurScope(CurScope) { } in SharingMapTy()
73 CurScope(0) { } in SharingMapTy()
89 Scope *CurScope) { in push() argument
90 Stack.push_back(SharingMapTy(DKind, DirName, CurScope)); in push()
129 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope()
235 Scope *CurScope = getCurScope(); in isOpenMPLocal() local
236 while (CurScope && !CurScope->isDeclScope(D)) in isOpenMPLocal()
237 CurScope = CurScope->getParent(); in isOpenMPLocal()
238 while (CurScope && !CurScope->isOpenMPDirectiveScope()) in isOpenMPLocal()
239 CurScope = CurScope->getParent(); in isOpenMPLocal()
240 bool isOpenMPLocal = !!CurScope; in isOpenMPLocal()
242 CurScope = getCurScope(); in isOpenMPLocal()
243 while (CurScope && !CurScope->isOpenMPDirectiveScope()) in isOpenMPLocal()
244 CurScope = CurScope->getParent(); in isOpenMPLocal()
246 CurScope && in isOpenMPLocal()
248 CurScope->getFnParent()->getEntity()->Encloses(D->getDeclContext()); in isOpenMPLocal()
366 Scope *CurScope) { in StartOpenMPDSABlock() argument
367 DSAStack->push(DKind, DirName, CurScope); in StartOpenMPDSABlock()
396 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope, in ActOnOpenMPIdExpression() argument
400 LookupParsedName(Lookup, CurScope, &ScopeSpec, true); in ActOnOpenMPIdExpression()
408 if (TypoCorrection Corrected = CorrectTypo(Id, LookupOrdinaryName, CurScope, in ActOnOpenMPIdExpression()
491 if (CanonicalVD->isStaticLocal() && CurScope && in ActOnOpenMPIdExpression()
492 !isDeclInScope(ND, getCurLexicalContext(), CurScope)) { in ActOnOpenMPIdExpression()