Lines Matching refs:newName
614 auto suggest = [&](StringRef newName) -> const Symbol * { in getAlternativeSpelling() argument
616 if (const Symbol *s = map.lookup(newName)) in getAlternativeSpelling()
620 if (const Symbol *s = symtab->find(newName)) in getAlternativeSpelling()
633 std::string newName = (name.substr(0, i) + "0" + name.substr(i)).str(); in getAlternativeSpelling() local
635 newName[i] = c; in getAlternativeSpelling()
636 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
643 newName = std::string(name); in getAlternativeSpelling()
645 newName[i] = c; in getAlternativeSpelling()
646 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
653 newName[i] = name[i + 1]; in getAlternativeSpelling()
654 newName[i + 1] = name[i]; in getAlternativeSpelling()
655 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
660 newName = (name.substr(0, i) + name.substr(i + 1)).str(); in getAlternativeSpelling()
661 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()