Home
last modified time | relevance | path

Searched refs:scope_ (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtype.cpp31 CHECK(!scope_); in set_scope()
36 scope_ = &scope; in ReplaceScope()
210 const Symbol *tpSym{scope_ ? scope_->FindSymbol(pair.first) : nullptr}; in Match()
248 Scope &scope_; member in Fortran::semantics::InstantiateHelper
305 scope_ = &typeScope; in Instantiate()
382 ComputeOffsets(context(), scope_); in InstantiateComponents()
407 Scope &scope_; member in Fortran::semantics::ComponentInitResetHelper
411 auto pair{scope_.try_emplace( in InstantiateComponent()
443 ComponentInitResetHelper resetter{scope_}; in InstantiateComponent()
538 return scope_.MakeCharacterType( in InstantiateIntrinsicType()
[all …]
H A Dsymbol.cpp79 return isSubmodule_ && scope_ ? &scope_->parent() : nullptr; in parent()
82 return isSubmodule_ && scope_ ? FindModuleContaining(*scope_) : nullptr; in ancestor()
85 CHECK(!scope_); in set_scope()
88 scope_ = scope; in set_scope()
610 if (const Scope * localScope{scope ? scope : scope_}) { in GetParentComponent()
H A Dprogram-tree.h82 Scope *scope() const { return scope_; } in scope()
115 Scope *scope_{nullptr};
H A Dmod-file.cpp73 : symbol_{symbol}, scope_{scope} {} in SubprogramSymbolCollector()
80 const Scope &scope_; member in Fortran::semantics::SubprogramSymbolCollector
1086 for (const auto &pair : scope_) { in Collect()
1141 if (scope != scope_ && !scope.IsDerivedType()) { in DoSymbol()
1142 if (scope != scope_.parent()) { in DoSymbol()
1228 } else if (symbol.owner().Contains(scope_)) { in NeedImport()
1230 } else if (const Symbol * found{scope_.FindSymbol(name)}) { in NeedImport()
1232 return found->has<UseDetails>() && found->owner() != scope_; in NeedImport()
H A Dprogram-tree.cpp271 scope_ = &scope; in set_scope()
H A Dcheck-declarations.cpp55 evaluate::CheckSpecificationExpr(x, DEREF(scope_), foldingContext_); in CheckSpecExpr()
139 const Scope *scope_{nullptr}; member in Fortran::semantics::CheckHelper
1713 scope_ = &scope; in Check()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcheck-expression.cpp507 : Base{*this}, scope_{s}, context_{context} {} in CheckSpecificationExprHelper()
520 } else if (scope_.IsDerivedType() && in operator ()()
538 } else if (&symbol.owner() != &scope_ || &ultimate.owner() != &scope_) { in operator ()()
587 if (scope_.IsDerivedType() && !IsConstantExpr(inq) && in operator ()()
607 if (scope_.IsDerivedType()) { // C750, C754 in operator ()()
631 if (scope_.IsDerivedType()) { // C750, C754 in operator ()()
660 const semantics::Scope &scope_; member in Fortran::evaluate::CheckSpecificationExprHelper
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dsymbol.h53 const Scope *scope() const { return scope_; } in scope()
60 const Scope *scope_{nullptr};
561 Scope *scope() { return scope_; } in scope()
562 const Scope *scope() const { return scope_; } in scope()
563 void set_scope(Scope *scope) { scope_ = scope; } in set_scope()
679 Scope *scope_{nullptr};
H A Dtype.h261 const Scope *scope() const { return scope_; } in scope()
311 const Scope *scope_{nullptr}; // same as typeSymbol_.scope() unless PDT