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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp159 if (Hint.CodeToInsert.empty()) {
169 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
171 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1079 if (!I->CodeToInsert.empty()) {
1086 StringRef(I->CodeToInsert).find_first_of("\n\r") == StringRef::npos) {
1112 (HintCol - PrevHintEndCol) + I->CodeToInsert.size();
1116 std::copy(I->CodeToInsert.begin(), I->CodeToInsert.end(),
1117 FixItInsertionLine.end() - I->CodeToInsert.size());
1120 HintCol + llvm::sys::locale::columnWidth(I->CodeToInsert);
1360 OS.write_escaped(I->CodeToInsert);
H A DDiagnosticRenderer.cpp64 if (Hint.CodeToInsert.empty()) {
74 commit.replace(Hint.RemoveRange, Hint.CodeToInsert);
76 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert,
H A DSerializedDiagnosticPrinter.cpp118 StringRef CodeToInsert) override;
722 Record.push_back(Fix.CodeToInsert.size());
724 Fix.CodeToInsert);
H A DASTUnit.cpp1253 OutFix.CodeToInsert = InFix.CodeToInsert;
2403 FH.CodeToInsert = FixIt.CodeToInsert;
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp82 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert);
H A DPlistDiagnostics.cpp246 EmitString(o, fixit.CodeToInsert);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h82 std::string CodeToInsert; member in class:clang::FixItHint
102 Hint.CodeToInsert = std::string(Code);
137 Hint.CodeToInsert = std::string(Code);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1163 if (fixit.CodeToInsert.empty()) {
1175 commit.replace(fixit.RemoveRange, fixit.CodeToInsert);
1178 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp609 << " to \"" << FixIt.CodeToInsert << "\")";
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h94 std::string CodeToInsert; member in struct:clang::ASTUnit::StandaloneFixIt

Completed in 203 milliseconds