Home
last modified time | relevance | path

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

/external/llvm-project/flang/include/flang/Semantics/
Dsemantics.h154 const Scope &FindScope(parser::CharBlock) const;
155 Scope &FindScope(parser::CharBlock);
215 const Scope &FindScope(const parser::CharBlock &where) const { in FindScope() function
216 return context_.FindScope(where); in FindScope()
Dscope.h234 const Scope *FindScope(parser::CharBlock) const;
235 Scope *FindScope(parser::CharBlock);
/external/llvm-project/flang/lib/Semantics/
Dscope.cpp260 const Scope *Scope::FindScope(parser::CharBlock source) const { in FindScope() function in Fortran::semantics::Scope
261 return const_cast<Scope *>(this)->FindScope(source); in FindScope()
264 Scope *Scope::FindScope(parser::CharBlock source) { in FindScope() function in Fortran::semantics::Scope
270 if (auto *scope{child.FindScope(source)}) { in FindScope()
Dsemantics.cpp248 const Scope &SemanticsContext::FindScope(parser::CharBlock source) const { in FindScope() function in Fortran::semantics::SemanticsContext
249 return const_cast<SemanticsContext *>(this)->FindScope(source); in FindScope()
252 Scope &SemanticsContext::FindScope(parser::CharBlock source) { in FindScope() function in Fortran::semantics::SemanticsContext
253 if (auto *scope{globalScope_.FindScope(source)}) { in FindScope()
Dcheck-return.cpp32 const auto &scope{context_.FindScope(context_.location().value())}; in Leave()
Dcheck-nullify.cpp21 const Scope &scope{context_.FindScope(*context_.location())}; in Leave()
Dassignment.cpp70 const Scope &scope{context_.FindScope(lhsLoc)}; in Analyze()
167 const Scope &scope{context_.FindScope(source)}; in CheckForPureContext()
Dcheck-do-forall.cpp192 const Scope &blockScope{context_.FindScope(endBlockStmt.source)}; in Post()
193 const Scope &doScope{context_.FindScope(doConcurrentSourcePosition_)}; in Post()
342 blockScope_{context.FindScope(doConcurrentSourcePosition_)} {}
556 context_.FindScope(currentStatementSourcePosition_).parent()}; in GatherLocals()
Dcheck-data.cpp58 const Scope &scope{context_.FindScope(source_)}; in operator ()()
Dexpression.cpp680 context_.FindScope(n.source))}) { in Analyze()
1564 if (const auto *currScope{context_.globalScope().FindScope(source)}) { in Analyze()
1599 const auto &innermost{context_.FindScope(expr.source)}; in Analyze()
2109 semantics::Scope &scope{context_.FindScope(name->source)}; in Analyze()
2256 context_.FindScope(callSite), treatExternalAsImplicit, in CheckCall()
2262 context_.FindScope(callSite))}) { in CheckCall()
2961 const auto &scope{context_.context().FindScope(source_)}; in TryDefinedOp()
3071 const auto &scope{context_.context().FindScope(source_)}; in GetDefinedAssignmentProc()
Dcheck-io.cpp931 if (WhyNotModifiable(*sym, context_.FindScope(*context_.location()))) { in CheckForDefinableVariable()
939 if (FindPureProcedureContaining(context_.FindScope(*context_.location()))) { in CheckForPureSubprogram()
Dcheck-allocate.cpp231 const Scope &scope{context.FindScope(at)}; in CheckAllocateOptions()
Dresolve-directives.cpp52 dirContext_.emplace_back(source, dir, context_.FindScope(source)); in PushContext()
/external/llvm-project/flang/tools/f18/
Df18.cpp292 if (auto symbol{semanticsContext.FindScope(*cb).FindSymbol(*cb)}) { in CompileFortran()
/external/llvm-project/flang/lib/Lower/
DPFTBuilder.cpp1093 processSymbolTable(semanticsContext.FindScope(