Home
last modified time | relevance | path

Searched refs:CodeToInsert (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp160 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic()
170 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
172 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1010 if (H.CodeToInsert.empty()) in buildFixItInsertionLine()
1019 StringRef(H.CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine()
1046 H.CodeToInsert.size(); in buildFixItInsertionLine()
1050 std::copy(H.CodeToInsert.begin(), H.CodeToInsert.end(), in buildFixItInsertionLine()
1051 FixItInsertionLine.end() - H.CodeToInsert.size()); in buildFixItInsertionLine()
1053 PrevHintEndCol = HintCol + llvm::sys::locale::columnWidth(H.CodeToInsert); in buildFixItInsertionLine()
1541 OS.write_escaped(H.CodeToInsert); in emitParseableFixits()
H A DDiagnosticRenderer.cpp62 if (Hint.CodeToInsert.empty()) { in mergeFixits()
72 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
74 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
H A DSerializedDiagnosticPrinter.cpp112 StringRef CodeToInsert) override;
720 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext()
722 Fix.CodeToInsert); in EmitCodeContext()
H A DASTUnit.cpp1290 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt()
2439 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp75 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
H A DPlistDiagnostics.cpp231 EmitString(o, fixit.CodeToInsert); in EmitFixits()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h89 std::string CodeToInsert; variable
106 Hint.CodeToInsert = std::string(Code);
142 Hint.CodeToInsert = std::string(Code); in CreateReplacement()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1384 if (fixit.CodeToInsert.empty()) { in ApplyFixIt()
1396 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt()
1399 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert, in ApplyFixIt()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h94 std::string CodeToInsert; member
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp714 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()