Searched refs:CaretLine (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 243 static void buildFixItLine(std::string &CaretLine, std::string &FixItLine, in buildFixItLine() argument 309 std::fill(&CaretLine[FirstCol], &CaretLine[LastCol], '~'); in buildFixItLine() 406 std::string CaretLine(NumColumns+1, ' '); in print() local 411 std::fill(&CaretLine[R.first], in print() 412 &CaretLine[std::min((size_t)R.second, CaretLine.size())], in print() 419 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print() 425 CaretLine[ColumnNo] = '^'; in print() 427 CaretLine[NumColumns] = '^'; in print() 432 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print() 440 for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) { in print() [all …]
|
/external/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 322 std::string &CaretLine, in selectInterestingSourceRegion() argument 326 unsigned CaretColumns = CaretLine.size(); in selectInterestingSourceRegion() 335 assert(CaretLine.end() == in selectInterestingSourceRegion() 336 std::find_if(CaretLine.begin(), CaretLine.end(), in selectInterestingSourceRegion() 341 unsigned CaretStart = 0, CaretEnd = CaretLine.size(); in selectInterestingSourceRegion() 343 if (!isWhitespace(CaretLine[CaretStart])) in selectInterestingSourceRegion() 347 if (!isWhitespace(CaretLine[CaretEnd - 1])) in selectInterestingSourceRegion() 503 CaretLine.replace(0, CaretStart, front_space); in selectInterestingSourceRegion() 910 std::string &CaretLine, in highlightRange() argument 945 EndColNo = CaretLine.size(); in highlightRange() [all …]
|