Lines Matching defs:Ranges
137 ArrayRef<SMRange> Ranges,
168 // Convert any ranges to column ranges that only intersect the line of the
170 for (unsigned i = 0, e = Ranges.size(); i != e; ++i) {
171 SMRange R = Ranges[i];
184 // Translate from SMLoc ranges to column ranges.
217 const Twine &Msg, ArrayRef<SMRange> Ranges,
219 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
223 const Twine &Msg, ArrayRef<SMRange> Ranges,
225 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors);
235 ArrayRef<std::pair<unsigned,unsigned> > Ranges,
238 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()),
394 // our ranges will be wrong. To do this properly, we'll need a byte-to-column
396 // expanding them later, and bail out rather than show incorrect ranges and
405 // Build the line with the caret and ranges.
408 // Expand any ranges.
409 for (unsigned r = 0, e = Ranges.size(); r != e; ++r) {
410 std::pair<unsigned, unsigned> R = Ranges[r];