Lines Matching refs:Item
22 for (const llvm::StringRef &Item : Allowed) { in getBestGuess() local
23 if (Item.equals_insensitive(Search)) { in getBestGuess()
24 assert(Item != Search && "This should be handled earlier on."); in getBestGuess()
26 Res = Item; in getBestGuess()
29 unsigned Distance = Item.edit_distance(Search); in getBestGuess()
32 Res = Item; in getBestGuess()
39 for (const llvm::StringRef &Item : Allowed) { in getBestGuess() local
40 auto NoPrefix = Item; in getBestGuess()
45 return Item.str(); in getBestGuess()
47 Res = Item; in getBestGuess()
53 Res = Item; in getBestGuess()