Home
last modified time | relevance | path

Searched refs:ReplacementRange (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Tooling/
DRefactoring.cpp33 : 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/
DCXStoredDiagnostic.cpp102 CXSourceRange *ReplacementRange) const { in getFixIt()
104 if (ReplacementRange) { in getFixIt()
108 *ReplacementRange = translateSourceRange(Diag.getLocation().getManager(), in getFixIt()
DCIndexDiagnostic.cpp79 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()
DCIndexDiagnostic.h91 CXSourceRange *ReplacementRange) const = 0;
152 CXSourceRange *ReplacementRange) const;
DCXLoadedDiagnostic.h60 CXSourceRange *ReplacementRange) const;
DCXLoadedDiagnostic.cpp133 CXSourceRange *ReplacementRange) const { in getFixIt()
135 if (ReplacementRange) in getFixIt()
136 *ReplacementRange = FixIts[FixIt].first; in getFixIt()
/external/clang/include/clang/Tooling/
DRefactoring.h108 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/
DParseTemplate.cpp726 CharSourceRange ReplacementRange = in ParseGreaterThanInTemplateList() local
734 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
/external/clang/tools/c-index-test/
Dc-index-test.c3628 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/
DIndex.h978 CXSourceRange *ReplacementRange);