Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp159 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 DCXLoadedDiagnostic.cpp230 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 DCXStoredDiagnostic.cpp109 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
H A DCIndexCodeCompletion.cpp348 return cxstring::createRef(FixIt.CodeToInsert.c_str()); in clang_getCompletionFixIt()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DTextDiagnostic.cpp1073 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 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.cpp117 StringRef CodeToInsert) override;
721 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext()
723 Fix.CodeToInsert); in EmitCodeContext()
H A DASTUnit.cpp1269 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt()
2406 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1220 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 DASTUnit.h93 std::string CodeToInsert; member
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp711 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()