Searched refs:CodeToInsert (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 160 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-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 1004 if (H.CodeToInsert.empty()) in buildFixItInsertionLine() 1013 StringRef(H.CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine() 1040 H.CodeToInsert.size(); in buildFixItInsertionLine() 1044 std::copy(H.CodeToInsert.begin(), H.CodeToInsert.end(), in buildFixItInsertionLine() 1045 FixItInsertionLine.end() - H.CodeToInsert.size()); in buildFixItInsertionLine() 1047 PrevHintEndCol = HintCol + llvm::sys::locale::columnWidth(H.CodeToInsert); in buildFixItInsertionLine() 1351 OS.write_escaped(H.CodeToInsert); in emitParseableFixits()
|
| H A D | DiagnosticRenderer.cpp | 63 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 D | SerializedDiagnosticPrinter.cpp | 115 StringRef CodeToInsert) override; 719 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext() 721 Fix.CodeToInsert); in EmitCodeContext()
|
| H A D | ASTUnit.cpp | 1277 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt() 2414 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | TextDiagnostics.cpp | 80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
|
| H A D | PlistDiagnostics.cpp | 234 EmitString(o, fixit.CodeToInsert); in EmitFixits()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Diagnostic.h | 83 std::string CodeToInsert; variable 103 Hint.CodeToInsert = std::string(Code); 138 Hint.CodeToInsert = std::string(Code); in CreateReplacement()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 1204 if (fixit.CodeToInsert.empty()) { in ApplyFixIt() 1216 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt() 1219 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert, in ApplyFixIt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 94 std::string CodeToInsert; member
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 718 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()
|