reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
51 assert(!Matches.empty() && "Must have at least one string to match!"); 56 if (CharNo == Matches[0]->first.size()) { 57 if (Matches.size() > 1 && !IgnoreDuplicates) 61 StringRef Code = Matches[0]->second; 64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; 78 for (unsigned i = 0, e = Matches.size(); i != e; ++i) 79 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]); 79 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]); 85 unsigned FirstNonCommonLetter = FindFirstNonCommonLetter(Matches); 93 << Matches[0]->first[CharNo] << "')\n"; 99 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", " 104 return EmitStringMatcherForChar(Matches, FirstNonCommonLetter, IndentCount,