Lines Matching refs:newName
612 auto suggest = [&](StringRef newName) -> const Symbol * { in getAlternativeSpelling() argument
614 if (const Symbol *s = map.lookup(newName)) in getAlternativeSpelling()
618 if (const Symbol *s = symtab.find(newName)) in getAlternativeSpelling()
631 std::string newName = (name.substr(0, i) + "0" + name.substr(i)).str(); in getAlternativeSpelling() local
633 newName[i] = c; in getAlternativeSpelling()
634 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
641 newName = std::string(name); in getAlternativeSpelling()
643 newName[i] = c; in getAlternativeSpelling()
644 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
651 newName[i] = name[i + 1]; in getAlternativeSpelling()
652 newName[i + 1] = name[i]; in getAlternativeSpelling()
653 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
658 newName = (name.substr(0, i) + name.substr(i + 1)).str(); in getAlternativeSpelling()
659 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()