Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DTextDiagnostic.cpp1071 if (!I->CodeToInsert.empty()) { in buildFixItInsertionLine()
1078 StringRef(I->CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine()
1104 (HintCol - PrevHintEndCol) + I->CodeToInsert.size(); in buildFixItInsertionLine()
1108 std::copy(I->CodeToInsert.begin(), I->CodeToInsert.end(), in buildFixItInsertionLine()
1109 FixItInsertionLine.end() - I->CodeToInsert.size()); in buildFixItInsertionLine()
1112 HintCol + llvm::sys::locale::columnWidth(I->CodeToInsert); in buildFixItInsertionLine()
1352 OS.write_escaped(I->CodeToInsert); in emitParseableFixits()
H A DDiagnosticRenderer.cpp64 if (Hint.CodeToInsert.empty()) { in mergeFixits()
74 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
76 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
H A DSerializedDiagnosticPrinter.cpp118 StringRef CodeToInsert) override;
722 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext()
724 Fix.CodeToInsert); in EmitCodeContext()
H A DASTUnit.cpp1243 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt()
2376 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DTextDiagnostics.cpp80 Replacement Repl(SM, Hint.RemoveRange, Hint.CodeToInsert); in FlushDiagnosticsImpl()
H A DPlistDiagnostics.cpp233 EmitString(o, fixit.CodeToInsert); in EmitFixits()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DDiagnostic.h82 std::string CodeToInsert; variable
102 Hint.CodeToInsert = std::string(Code);
137 Hint.CodeToInsert = std::string(Code); in CreateReplacement()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DASTUnit.h94 std::string CodeToInsert; member
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp607 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()