Lines Matching refs:newName
509 auto suggest = [&](StringRef newName) -> const Symbol * { in getAlternativeSpelling() argument
511 if (const Symbol *s = map.lookup(newName)) in getAlternativeSpelling()
515 if (const Symbol *s = symtab->find(newName)) in getAlternativeSpelling()
528 std::string newName = (name.substr(0, i) + "0" + name.substr(i)).str(); in getAlternativeSpelling() local
530 newName[i] = c; in getAlternativeSpelling()
531 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
538 newName = std::string(name); in getAlternativeSpelling()
540 newName[i] = c; in getAlternativeSpelling()
541 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
548 newName[i] = name[i + 1]; in getAlternativeSpelling()
549 newName[i + 1] = name[i]; in getAlternativeSpelling()
550 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()
555 newName = (name.substr(0, i) + name.substr(i + 1)).str(); in getAlternativeSpelling()
556 if (const Symbol *s = suggest(newName)) in getAlternativeSpelling()