Home
last modified time | relevance | path

Searched refs:FindScope (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dsemantics.h177 const Scope &FindScope(parser::CharBlock) const;
178 Scope &FindScope(parser::CharBlock);
283 const Scope &FindScope(const parser::CharBlock &where) const { in FindScope() function
284 return context_.FindScope(where); in FindScope()
H A Dscope.h251 const Scope *FindScope(parser::CharBlock) const;
252 Scope *FindScope(parser::CharBlock);
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dsemantics.cpp345 const Scope &SemanticsContext::FindScope(parser::CharBlock source) const { in FindScope() function in Fortran::semantics::SemanticsContext
346 return const_cast<SemanticsContext *>(this)->FindScope(source); in FindScope()
349 Scope &SemanticsContext::FindScope(parser::CharBlock source) { in FindScope() function in Fortran::semantics::SemanticsContext
350 if (auto *scope{globalScope_.FindScope(source)}) { in FindScope()
360 for (const Scope *scope{&FindScope(source)}; !scope->IsGlobal(); in IsInModuleFile()
H A Dscope.cpp303 const Scope *Scope::FindScope(parser::CharBlock source) const { in FindScope() function in Fortran::semantics::Scope
304 return const_cast<Scope *>(this)->FindScope(source); in FindScope()
307 Scope *Scope::FindScope(parser::CharBlock source) { in FindScope() function in Fortran::semantics::Scope
313 if (auto *scope{child.FindScope(source)}) { in FindScope()
H A Dcheck-return.cpp32 const auto &scope{context_.FindScope(context_.location().value())}; in Leave()
H A Dcheck-nullify.cpp21 const Scope &scope{context_.FindScope(*context_.location())}; in Leave()
H A Dassignment.cpp70 const Scope &scope{context_.FindScope(lhsLoc)}; in Analyze()
167 const Scope &scope{context_.FindScope(source)}; in CheckForPureContext()
H A Dcheck-do-forall.cpp191 const Scope &blockScope{context_.FindScope(endBlockStmt.source)}; in Post()
192 const Scope &doScope{context_.FindScope(doConcurrentSourcePosition_)}; in Post()
342 blockScope_{context.FindScope(doConcurrentSourcePosition_)} {}
557 context_.FindScope(currentStatementSourcePosition_).parent()}; in GatherLocals()
H A Dcheck-acc-structure.cpp147 const auto &scope{context_.FindScope(declarativeDir.source)}; in Leave()
266 const auto &scope{context_.FindScope(verbatim.source)}; in Enter()
H A Dcheck-data.cpp58 const Scope &scope{context_.FindScope(source_)}; in operator ()()
H A Dcheck-io.cpp986 if (auto whyNot{WhyNotModifiable(at, *expr, context_.FindScope(at), in CheckForDefinableVariable()
1001 scope{context_.globalScope().FindScope(*context_.location())}) { in CheckForPureSubprogram()
1017 which, type->GetDerivedTypeSpec(), &context_.FindScope(where))}) { in CheckForBadIoComponent()
H A Dexpression.cpp784 context_.FindScope(n.source))}) { in Analyze()
1751 if (const auto *currScope{context_.globalScope().FindScope(source)}) { in Analyze()
1786 const auto &innermost{context_.FindScope(expr.source)}; in Analyze()
2491 semantics::Scope &scope{context_.FindScope(name->source)}; in Analyze()
2660 context_.FindScope(callSite), treatExternalAsImplicit, in CheckCall()
2665 context_.FindScope(callSite))}) { in CheckCall()
3511 const auto &scope{context_.context().FindScope(source_)}; in TryDefinedOp()
3629 const auto &scope{context_.context().FindScope(source_)}; in GetDefinedAssignmentProc()
H A Dcheck-allocate.cpp231 const Scope &scope{context.FindScope(at)}; in CheckAllocateOptions()
H A Dcheck-omp-structure.cpp280 const auto &scope{context_.FindScope(symbol->name())}; in CheckPredefinedAllocatorRestriction()
966 context_.FindScope(GetContext().directiveSource)}; in CheckThreadprivateOrDeclareTargetVar()
1965 WhyNotModifiable(*symbol, context_.FindScope(name->source))}) { in CheckIntentInPointerAndDefinable()
2566 if (auto msg{WhyNotModifiable(*symbol, context_.FindScope(source))}) { in CheckDefinableObjects()
H A Dresolve-directives.cpp57 dirContext_.emplace_back(source, dir, context_.FindScope(source)); in PushContext()
/llvm-project-15.0.7/flang/lib/Frontend/
H A DFrontendActions.cpp439 .FindScope(*charBlock) in executeAction()
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp1584 semanticsContext.FindScope(
1686 symTab{semanticsContext.FindScope(