Searched refs:FixItInsertionLine (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 323 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-project/clang/lib/Frontend/ |
D | TextDiagnostic.cpp | 323 std::string &FixItInsertionLine, in selectInterestingSourceRegion() argument 327 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() 503 if (!FixItInsertionLine.empty()) in selectInterestingSourceRegion() 504 FixItInsertionLine.replace(0, CaretStart, front_space); in selectInterestingSourceRegion() 1075 std::string FixItInsertionLine; in buildFixItInsertionLine() local [all …]
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 418 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SourceMgr.cpp | 438 std::string FixItInsertionLine; in print() local 439 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print() 477 if (FixItInsertionLine.empty()) in print() 480 for (size_t i = 0, e = FixItInsertionLine.size(), OutCol = 0; i < e; ++i) { in print() 482 OS << FixItInsertionLine[i]; in print() 489 OS << FixItInsertionLine[i]; in print() 495 if (FixItInsertionLine[i] != ' ') in print()
|
/external/llvm-project/llvm/lib/Support/ |
D | SourceMgr.cpp | 545 std::string FixItInsertionLine; in print() local 547 CaretLine, FixItInsertionLine, FixIts, in print() 585 if (FixItInsertionLine.empty()) in print() 588 for (size_t i = 0, e = FixItInsertionLine.size(), OutCol = 0; i < e; ++i) { in print() 590 OS << FixItInsertionLine[i]; in print() 597 OS << FixItInsertionLine[i]; in print() 603 if (FixItInsertionLine[i] != ' ') in print()
|