Home
last modified time | relevance | path

Searched refs:FixItInsertionLine (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp324 std::string &FixItInsertionLine, in selectInterestingSourceRegion() argument
328 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()
501 if (!FixItInsertionLine.empty()) in selectInterestingSourceRegion()
502 FixItInsertionLine.replace(0, CaretStart, front_space); in selectInterestingSourceRegion()
1007 std::string FixItInsertionLine; in buildFixItInsertionLine() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp552 std::string FixItInsertionLine; in print() local
553 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print()
591 if (FixItInsertionLine.empty()) in print()
594 for (size_t i = 0, e = FixItInsertionLine.size(), OutCol = 0; i < e; ++i) { in print()
596 OS << FixItInsertionLine[i]; in print()
603 OS << FixItInsertionLine[i]; in print()
609 if (FixItInsertionLine[i] != ' ') in print()