Searched refs:ReplacementRange (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 33 : FilePath(FilePath), ReplacementRange(Offset, Length), in Replacement() 65 getLocWithOffset(ReplacementRange.getOffset()); in apply() 70 Start, ReplacementRange.getLength(), ReplacementText); in apply() 78 stream << FilePath << ": " << ReplacementRange.getOffset() << ":+" in toString() 79 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString() 86 if (R1.ReplacementRange.getOffset() != R2.ReplacementRange.getOffset()) in operator ()() 87 return R1.ReplacementRange.getOffset() < R2.ReplacementRange.getOffset(); in operator ()() 88 if (R1.ReplacementRange.getLength() != R2.ReplacementRange.getLength()) in operator ()() 89 return R1.ReplacementRange.getLength() < R2.ReplacementRange.getLength(); in operator ()() 100 this->ReplacementRange = Range(DecomposedLocation.second, Length); in setFromSourceLocation()
|
/external/clang/tools/libclang/ |
D | CXStoredDiagnostic.cpp | 102 CXSourceRange *ReplacementRange) const { in getFixIt() 104 if (ReplacementRange) { in getFixIt() 108 *ReplacementRange = translateSourceRange(Diag.getLocation().getManager(), in getFixIt()
|
D | CIndexDiagnostic.cpp | 79 CXString getFixIt(unsigned FixIt, CXSourceRange *ReplacementRange) const { in getFixIt() 80 if (ReplacementRange) in getFixIt() 81 *ReplacementRange = clang_getNullRange(); in getFixIt() 429 CXSourceRange *ReplacementRange) { in clang_getDiagnosticFixIt() argument 432 if (ReplacementRange) in clang_getDiagnosticFixIt() 433 *ReplacementRange = clang_getNullRange(); in clang_getDiagnosticFixIt() 436 return D->getFixIt(FixIt, ReplacementRange); in clang_getDiagnosticFixIt()
|
D | CIndexDiagnostic.h | 91 CXSourceRange *ReplacementRange) const = 0; 152 CXSourceRange *ReplacementRange) const;
|
D | CXLoadedDiagnostic.h | 60 CXSourceRange *ReplacementRange) const;
|
D | CXLoadedDiagnostic.cpp | 133 CXSourceRange *ReplacementRange) const { in getFixIt() 135 if (ReplacementRange) in getFixIt() 136 *ReplacementRange = FixIts[FixIt].first; in getFixIt()
|
/external/clang/include/clang/Tooling/ |
D | Refactoring.h | 108 unsigned getOffset() const { return ReplacementRange.getOffset(); } in getOffset() 109 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength() 132 Range ReplacementRange; variable
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 726 CharSourceRange ReplacementRange = in ParseGreaterThanInTemplateList() local 734 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 3628 CXSourceRange ReplacementRange; in printFixIts() local 3630 text = clang_getDiagnosticFixIt(D, i, &ReplacementRange); in printFixIts() 3634 printLocation(clang_getRangeStart(ReplacementRange)); in printFixIts() 3636 printLocation(clang_getRangeEnd(ReplacementRange)); in printFixIts()
|
/external/clang/include/clang-c/ |
D | Index.h | 978 CXSourceRange *ReplacementRange);
|