Lines Matching refs:LineContents
373 Kind(Kind), Message(std::string(Msg)), LineContents(std::string(LineStr)), in SMDiagnostic()
449 static void printSourceLine(raw_ostream &S, StringRef LineContents) { in printSourceLine() argument
451 for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) { in printSourceLine()
452 size_t NextTab = LineContents.find('\t', i); in printSourceLine()
455 S << LineContents.drop_front(i); in printSourceLine()
460 S << LineContents.slice(i, NextTab); in printSourceLine()
527 if (find_if(LineContents, isNonASCII) != LineContents.end()) { in print()
528 printSourceLine(OS, LineContents); in print()
531 size_t NumColumns = LineContents.size(); in print()
548 makeArrayRef(Loc.getPointer() - ColumnNo, LineContents.size())); in print()
561 printSourceLine(OS, LineContents); in print()
569 if (i >= LineContents.size() || LineContents[i] != '\t') { in print()
589 if (i >= LineContents.size() || LineContents[i] != '\t') { in print()