Searched refs:CodeToInsert (Results 1 – 14 of 14) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 159 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic() 169 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic() 171 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXLoadedDiagnostic.cpp | 230 StringRef CodeToInsert) override; 363 StringRef CodeToInsert) { in visitFixitRecord() argument 368 if (CodeToInsert.size() > 65536) in visitFixitRecord() 371 std::make_pair(SR, TopDiags->copyString(CodeToInsert))); in visitFixitRecord()
|
| H A D | CXStoredDiagnostic.cpp | 109 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
|
| H A D | CIndexCodeCompletion.cpp | 348 return cxstring::createRef(FixIt.CodeToInsert.c_str()); in clang_getCompletionFixIt()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 1073 if (!I->CodeToInsert.empty()) { in buildFixItInsertionLine() 1080 StringRef(I->CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine() 1106 (HintCol - PrevHintEndCol) + I->CodeToInsert.size(); in buildFixItInsertionLine() 1110 std::copy(I->CodeToInsert.begin(), I->CodeToInsert.end(), in buildFixItInsertionLine() 1111 FixItInsertionLine.end() - I->CodeToInsert.size()); in buildFixItInsertionLine() 1114 HintCol + llvm::sys::locale::columnWidth(I->CodeToInsert); in buildFixItInsertionLine() 1354 OS.write_escaped(I->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 | 117 StringRef CodeToInsert) override; 721 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext() 723 Fix.CodeToInsert); in EmitCodeContext()
|
| H A D | ASTUnit.cpp | 1269 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt() 2406 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 1220 if (fixit.CodeToInsert.empty()) { in ApplyFixIt() 1232 commit.replace(fixit.RemoveRange, fixit.CodeToInsert); in ApplyFixIt() 1235 commit.insert(fixit.RemoveRange.getBegin(), fixit.CodeToInsert, in ApplyFixIt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 93 std::string CodeToInsert; member
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 711 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()
|