Lines Matching defs:scopes

28 // because the parse tree does not actually have the scopes required.
887 // interfaces, which are their own inclusive scopes. None
893 bool InInclusiveScope(const std::vector<ScopeInfo> &scopes, ProxyForScope tail,
895 for (; tail != head; tail = scopes[tail].parent) {
983 const std::vector<ScopeInfo> &scopes, ProxyForScope scope) {
984 return scopes[scope].parent;
989 const std::vector<ScopeInfo> &scopes, SemanticsContext &context) {
1006 } else if ((InInclusiveScope(scopes, scope, doTarget.proxyForScope) &&
1010 ParentScope(scopes, doTarget.proxyForScope) == scope)) {
1021 } else if (!InInclusiveScope(scopes, scope, doTarget.proxyForScope)) {
1039 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1049 } else if (!InInclusiveScope(scopes, scope, target.proxyForScope)) {
1061 toScope = scopes[toScope].parent) {
1062 while (scopes[fromScope].depth > scopes[toScope].depth) {
1063 fromScope = scopes[fromScope].parent;
1068 if (scopes[toScope].isExteriorGotoFatal) {
1119 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1121 CheckScopeConstraints(branches, labels, scopes, context);
1144 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1146 CheckScopeConstraints(dataTransfers, labels, scopes, context);
1183 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1185 CheckScopeConstraints(assigns, labels, scopes, context);
1195 const auto &scopes{programUnit.scopeModel};
1196 CheckLabelDoConstraints(dos, branches, labels, scopes, context);
1197 CheckBranchConstraints(branches, labels, scopes, context);
1199 CheckDataTransferConstraints(dataTransfers, labels, scopes, context);
1201 CheckAssignConstraints(assigns, labels, scopes, context);