Lines Matching defs:existing
573 // Make a new symbol with the name and attrs of an existing one
641 // update the existing symbol
927 // Edits an existing symbol created for earlier calls to a subprogram or ENTRY
5464 // symbol behind an existing GenericDetails symbol of the same name.
5924 // existing.
9143 Symbol *existing{nullptr};
9146 existing = currScope().FindSymbol(SourceName{n});
9147 if (existing) {
9151 if (existing) {
9152 Symbol &ultimate{existing->GetUltimate()};
9154 if (&existing->owner() == &currScope()) {
9155 if (const auto *existingUse{existing->detailsIf<UseDetails>()}) {
9163 genericDetails, existing->name(), existingUse->symbol());
9164 } else if (existing == &ultimate) {
9166 info.Resolve(existing);
9170 CHECK(existing->has<HostAssocDetails>());
9177 genericDetails.set_specific(*existing);
9179 if (existing->name() != symbolName ||
9181 genericDetails.set_specific(*existing);
9184 genericDetails.set_derivedType(*existing);
9185 } else if (&existing->owner() == &currScope()) {
9186 SayAlreadyDeclared(symbolName, *existing);
9189 if (&existing->owner() == &currScope()) {
9190 EraseSymbol(*existing);