Lines Matching defs:which
900 // FMT may appear on PRINT statements, which don't have any checks.
1079 static const Symbol *FindUnsafeIoDirectComponent(common::DefinedIo which,
1081 if (HasDefinedIo(which, derived, &scope)) {
1096 which, componentDerived, scope)}) {
1109 // in which the type was defined.
1110 static const Symbol *FindInaccessibleComponent(common::DefinedIo which,
1127 HasDefinedIo(which, *componentDerived, &scope)) {
1139 which, *componentDerived, scope)}) {
1152 common::DefinedIo which, parser::CharBlock where) const {
1160 bad{FindUnsafeIoDirectComponent(which, derived, scope)}) {
1165 if (!HasDefinedIo(which, derived, &scope)) {
1178 bad{FindInaccessibleComponent(which, derived, scope)}) {
1180 "I/O of the derived type '%s' may not be performed without defined I/O in a scope in which a direct component like '%s' is inaccessible"_err_en_US,
1188 void IoChecker::CheckForBadIoType(const SomeExpr &expr, common::DefinedIo which,
1191 CheckForBadIoType(*type, which, where);
1196 common::DefinedIo which, parser::CharBlock where) const {
1198 if (auto *msg{CheckForBadIoType(*type, which, where)}) {
1206 void IoChecker::CheckNamelist(const Symbol &namelist, common::DefinedIo which,
1212 if (auto *msg{CheckForBadIoType(object, which, namelistLocation)}) {
1214 } else if (which == common::DefinedIo::ReadFormatted) {