Lines Matching refs:newName
615 auto suggest = [&](StringRef newName) -> const Symbol * { in getAlternativeSpelling() argument
617 if (const Symbol *s = map.lookup(newName)) in getAlternativeSpelling()
621 if (const Symbol *s = symtab.find(newName)) in getAlternativeSpelling()
634 std::string newName = (name.substr(0, i) + "0" + name.substr(i)).str(); in getAlternativeSpelling() local
636 newName[i] = c; in getAlternativeSpelling()
637 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
644 newName = std::string(name); in getAlternativeSpelling()
646 newName[i] = c; in getAlternativeSpelling()
647 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
654 newName[i] = name[i + 1]; in getAlternativeSpelling()
655 newName[i + 1] = name[i]; in getAlternativeSpelling()
656 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
661 newName = (name.substr(0, i) + name.substr(i + 1)).str(); in getAlternativeSpelling()
662 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()