Searched refs:matchLoc (Results 1 – 2 of 2) sorted by relevance
166 std::string::size_type scanLoc = 0, matchLoc = std::string::npos; in replaceAllSubstrs() local167 while ((matchLoc = str.find(match, scanLoc)) != std::string::npos) { in replaceAllSubstrs()168 str = str.replace(matchLoc, match.size(), substitute); in replaceAllSubstrs()169 scanLoc = matchLoc + substitute.size(); in replaceAllSubstrs()
1896 Location matchLoc = rewriter.getFusedLoc(matchLocs); in executeRecordMatch() local1899 << " * Location: " << matchLoc << "\n"); in executeRecordMatch()1900 matches.emplace_back(matchLoc, patterns[patternIndex], benefit); in executeRecordMatch()