Home
last modified time | relevance | path

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

/freebsd-src/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-src/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1013 if (H.CodeToInsert.empty()) in buildFixItInsertionLine()
1022 StringRef(H.CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine()
1049 H.CodeToInsert.size(); in buildFixItInsertionLine()
1053 std::copy(H.CodeToInsert.begin(), H.CodeToInsert.end(), in buildFixItInsertionLine()
1054 FixItInsertionLine.end() - H.CodeToInsert.size()); in buildFixItInsertionLine()
1056 PrevHintEndCol = HintCol + llvm::sys::locale::columnWidth(H.CodeToInsert); in getNumDisplayWidth()
1544 OS.write_escaped(H.CodeToInsert);
H A DDiagnosticRenderer.cpp63 if (Hint.CodeToInsert.empty()) { in mergeFixits()
73 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
75 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
H A DSerializedDiagnosticPrinter.cpp115 StringRef CodeToInsert) override;
719 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext()
721 Fix.CodeToInsert); in EmitCodeContext()
H A DASTUnit.cpp1289 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneDiagnostic()
2425 FH.CodeToInsert = FixIt.CodeToInsert;
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
H A DPlistDiagnostics.cpp234 EmitString(o, fixit.CodeToInsert); in EmitFixits()
/freebsd-src/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h83 std::string CodeToInsert; variable
103 Hint.CodeToInsert = std::string(Code);
138 Hint.CodeToInsert = std::string(Code); in CreateReplacement()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1207 if (fixit.CodeToInsert.empty()) { in ApplyFixIt()
1219 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt()
1222 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert,
/freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h94 std::string CodeToInsert; member
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp718 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()