Searched refs:CodeToInsert (Results 1 – 9 of 9) sorted by relevance
153 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic()163 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()165 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
233 StringRef CodeToInsert) override;366 StringRef CodeToInsert) { in visitFixitRecord() argument371 if (CodeToInsert.size() > 65536) in visitFixitRecord()374 std::make_pair(SR, TopDiags->copyString(CodeToInsert))); in visitFixitRecord()
113 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
998 if (!I->CodeToInsert.empty()) { in buildFixItInsertionLine()1004 StringRef(I->CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine()1030 (HintCol - PrevHintEndCol) + I->CodeToInsert.size(); in buildFixItInsertionLine()1034 std::copy(I->CodeToInsert.begin(), I->CodeToInsert.end(), in buildFixItInsertionLine()1035 FixItInsertionLine.end() - I->CodeToInsert.size()); in buildFixItInsertionLine()1038 HintCol + llvm::sys::locale::columnWidth(I->CodeToInsert); in buildFixItInsertionLine()1258 OS.write_escaped(I->CodeToInsert); in emitParseableFixits()
99 if (Hint.CodeToInsert.empty()) { in mergeFixits()109 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()111 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
125 StringRef CodeToInsert) override;732 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext()734 Fix.CodeToInsert); in EmitCodeContext()
1292 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt()2556 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
64 std::string CodeToInsert; variable84 Hint.CodeToInsert = Code;119 Hint.CodeToInsert = Code; in CreateReplacement()
73 std::string CodeToInsert; member