Home
last modified time | relevance | path

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

/external/clang/lib/Rewrite/Frontend/
DFixItRewriter.cpp148 if (Hint.CodeToInsert.empty()) { in HandleDiagnostic()
158 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in HandleDiagnostic()
160 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in HandleDiagnostic()
/external/clang/lib/Frontend/
DTextDiagnostic.cpp996 if (!I->CodeToInsert.empty()) { in buildFixItInsertionLine()
1002 StringRef(I->CodeToInsert).find_first_of("\n\r") == StringRef::npos) { in buildFixItInsertionLine()
1028 (HintCol - PrevHintEndCol) + I->CodeToInsert.size(); in buildFixItInsertionLine()
1032 std::copy(I->CodeToInsert.begin(), I->CodeToInsert.end(), in buildFixItInsertionLine()
1033 FixItInsertionLine.end() - I->CodeToInsert.size()); in buildFixItInsertionLine()
1036 HintCol + llvm::sys::locale::columnWidth(I->CodeToInsert); in buildFixItInsertionLine()
1255 OS.write_escaped(I->CodeToInsert); in emitParseableFixits()
DDiagnosticRenderer.cpp99 if (Hint.CodeToInsert.empty()) { in mergeFixits()
109 commit.replace(Hint.RemoveRange, Hint.CodeToInsert); in mergeFixits()
111 commit.insert(Hint.RemoveRange.getBegin(), Hint.CodeToInsert, in mergeFixits()
DSerializedDiagnosticPrinter.cpp669 Record.push_back(Fix.CodeToInsert.size()); in EmitCodeContext()
671 Fix.CodeToInsert); in EmitCodeContext()
DASTUnit.cpp1310 OutFix.CodeToInsert = InFix.CodeToInsert; in makeStandaloneFixIt()
2579 FH.CodeToInsert = I->CodeToInsert; in TranslateStoredDiagnostics()
/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp113 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
/external/clang/include/clang/Basic/
DDiagnostic.h63 std::string CodeToInsert; variable
83 Hint.CodeToInsert = Code;
118 Hint.CodeToInsert = Code; in CreateReplacement()
/external/clang/include/clang/Frontend/
DASTUnit.h71 std::string CodeToInsert; member