Lines Matching refs:FixItInsertionLine
323 std::string &FixItInsertionLine, in selectInterestingSourceRegion() argument
327 unsigned FixItColumns = llvm::sys::locale::columnWidth(FixItInsertionLine); in selectInterestingSourceRegion()
354 if (!FixItInsertionLine.empty()) { in selectInterestingSourceRegion()
355 unsigned FixItStart = 0, FixItEnd = FixItInsertionLine.size(); in selectInterestingSourceRegion()
357 if (!isWhitespace(FixItInsertionLine[FixItStart])) in selectInterestingSourceRegion()
361 if (!isWhitespace(FixItInsertionLine[FixItEnd - 1])) in selectInterestingSourceRegion()
369 = llvm::sys::locale::columnWidth(FixItInsertionLine.substr(0, FixItEnd)); in selectInterestingSourceRegion()
503 if (!FixItInsertionLine.empty()) in selectInterestingSourceRegion()
504 FixItInsertionLine.replace(0, CaretStart, front_space); in selectInterestingSourceRegion()
1075 std::string FixItInsertionLine; in buildFixItInsertionLine() local
1077 return FixItInsertionLine; in buildFixItInsertionLine()
1114 unsigned NewFixItLineSize = FixItInsertionLine.size() + in buildFixItInsertionLine()
1116 if (NewFixItLineSize > FixItInsertionLine.size()) in buildFixItInsertionLine()
1117 FixItInsertionLine.resize(NewFixItLineSize, ' '); in buildFixItInsertionLine()
1120 FixItInsertionLine.end() - I->CodeToInsert.size()); in buildFixItInsertionLine()
1128 expandTabs(FixItInsertionLine, DiagOpts->TabStop); in buildFixItInsertionLine()
1130 return FixItInsertionLine; in buildFixItInsertionLine()
1237 std::string FixItInsertionLine = buildFixItInsertionLine( in emitSnippetAndCaret() local
1244 selectInterestingSourceRegion(SourceLine, CaretLine, FixItInsertionLine, in emitSnippetAndCaret()
1271 if (!FixItInsertionLine.empty()) { in emitSnippetAndCaret()
1277 OS << FixItInsertionLine << '\n'; in emitSnippetAndCaret()