Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DTextDiagnostic.cpp323 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
[all …]
/external/llvm/lib/Support/
DSourceMgr.cpp418 std::string FixItInsertionLine; in print() local
419 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print()
459 if (FixItInsertionLine.empty()) in print()
462 for (size_t i = 0, e = FixItInsertionLine.size(), OutCol = 0; i < e; ++i) { in print()
464 S << FixItInsertionLine[i]; in print()
471 S << FixItInsertionLine[i]; in print()
477 if (FixItInsertionLine[i] != ' ') in print()