Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp251 static void buildFixItLine(std::string &CaretLine, std::string &FixItLine, in buildFixItLine() argument
317 std::fill(&CaretLine[FirstCol], &CaretLine[LastCol], '~'); in buildFixItLine()
412 std::string CaretLine(NumColumns+1, ' '); in print() local
417 std::fill(&CaretLine[R.first], in print()
418 &CaretLine[std::min((size_t)R.second, CaretLine.size())], in print()
425 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print()
431 CaretLine[ColumnNo] = '^'; in print()
433 CaretLine[NumColumns] = '^'; in print()
438 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print()
446 for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) { in print()
[all …]
/external/clang/lib/Frontend/
DTextDiagnostic.cpp328 std::string &CaretLine, in selectInterestingSourceRegion() argument
333 std::max(CaretLine.size(), in selectInterestingSourceRegion()
340 assert(CaretLine.end() == in selectInterestingSourceRegion()
341 std::find_if(CaretLine.begin(), CaretLine.end(), in selectInterestingSourceRegion()
349 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion()
351 if (!isWhitespace(CaretLine[CaretStart])) in selectInterestingSourceRegion()
355 if (!isWhitespace(CaretLine[CaretEnd - 1])) in selectInterestingSourceRegion()
504 CaretLine.replace(0, CaretStart, front_space); in selectInterestingSourceRegion()
909 std::string &CaretLine, in highlightRange() argument
944 EndColNo = CaretLine.size(); in highlightRange()
[all …]