Searched refs:CaretLine (Results 1 – 3 of 3) 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() 918 std::string &CaretLine, in highlightRange() argument 953 EndColNo = CaretLine.size(); in highlightRange() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 275 static void buildFixItLine(std::string &CaretLine, std::string &FixItLine, in buildFixItLine() argument 341 std::fill(&CaretLine[FirstCol], &CaretLine[LastCol], '~'); in buildFixItLine() 442 std::string CaretLine(NumColumns+1, ' '); in print() local 447 std::fill(&CaretLine[R.first], in print() 448 &CaretLine[std::min((size_t)R.second, CaretLine.size())], in print() 455 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print() 461 CaretLine[ColumnNo] = '^'; in print() 463 CaretLine[NumColumns] = '^'; in print() 468 CaretLine.erase(CaretLine.find_last_not_of(' ')+1); in print() 476 for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) { in print() [all …]
|