Lines Matching refs:std
77 std::string Replacement::toString() const {
78 std::string result;
105 const std::pair<FileID, unsigned> DecomposedLocation =
127 std::pair<FileID, unsigned> Start = Sources.getDecomposedLoc(SpellingBegin);
128 std::pair<FileID, unsigned> End = Sources.getDecomposedLoc(SpellingEnd);
157 // FIXME: Remove this function when Replacements is implemented as std::vector
158 // instead of std::set.
159 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
162 for (std::vector<Replacement>::const_iterator I = Replaces.begin(),
174 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces) {
196 std::string Result;
216 // FIXME: Remove this function when Replacements is implemented as std::vector
217 // instead of std::set.
218 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces,
221 for (std::vector<Replacement>::const_iterator I = Replaces.begin(),
233 void deduplicate(std::vector<Replacement> &Replaces,
234 std::vector<Range> &Conflicts) {
239 std::sort(Replaces.begin(), Replaces.end());
240 std::vector<Replacement>::iterator End =
241 std::unique(Replaces.begin(), Replaces.end());
254 std::max(ConflictRange.getLength(),
273 ArrayRef<std::string> SourcePaths)