Lines Matching refs:FixItInsertionLine
323 std::string &FixItInsertionLine, in selectInterestingSourceRegion() argument
327 unsigned FixItColumns = llvm::sys::locale::columnWidth(FixItInsertionLine); in selectInterestingSourceRegion()
355 if (!FixItInsertionLine.empty()) { in selectInterestingSourceRegion()
356 unsigned FixItStart = 0, FixItEnd = FixItInsertionLine.size(); in selectInterestingSourceRegion()
358 if (!isWhitespace(FixItInsertionLine[FixItStart])) in selectInterestingSourceRegion()
362 if (!isWhitespace(FixItInsertionLine[FixItEnd - 1])) in selectInterestingSourceRegion()
370 = llvm::sys::locale::columnWidth(FixItInsertionLine.substr(0, FixItEnd)); in selectInterestingSourceRegion()
504 if (!FixItInsertionLine.empty()) in selectInterestingSourceRegion()
505 FixItInsertionLine.replace(0, CaretStart, front_space); in selectInterestingSourceRegion()
999 std::string FixItInsertionLine; in buildFixItInsertionLine() local
1001 return FixItInsertionLine; in buildFixItInsertionLine()
1037 unsigned NewFixItLineSize = FixItInsertionLine.size() + in buildFixItInsertionLine()
1039 if (NewFixItLineSize > FixItInsertionLine.size()) in buildFixItInsertionLine()
1040 FixItInsertionLine.resize(NewFixItLineSize, ' '); in buildFixItInsertionLine()
1043 FixItInsertionLine.end() - I->CodeToInsert.size()); in buildFixItInsertionLine()
1048 FixItInsertionLine.clear(); in buildFixItInsertionLine()
1054 expandTabs(FixItInsertionLine, DiagOpts->TabStop); in buildFixItInsertionLine()
1056 return FixItInsertionLine; in buildFixItInsertionLine()
1149 std::string FixItInsertionLine = buildFixItInsertionLine(LineNo, in emitSnippetAndCaret() local
1158 selectInterestingSourceRegion(SourceLine, CaretLine, FixItInsertionLine, in emitSnippetAndCaret()
1183 if (!FixItInsertionLine.empty()) { in emitSnippetAndCaret()
1189 OS << FixItInsertionLine << '\n'; in emitSnippetAndCaret()