Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp104 CXSourceRange *ReplacementRange) const { in getFixIt()
106 if (ReplacementRange) { in getFixIt()
110 *ReplacementRange = translateSourceRange(Diag.getLocation().getManager(), in getFixIt()
DCIndexDiagnostic.cpp80 CXSourceRange *ReplacementRange) const override { in getFixIt()
81 if (ReplacementRange) in getFixIt()
82 *ReplacementRange = clang_getNullRange(); in getFixIt()
444 CXSourceRange *ReplacementRange) { in clang_getDiagnosticFixIt() argument
447 if (ReplacementRange) in clang_getDiagnosticFixIt()
448 *ReplacementRange = clang_getNullRange(); in clang_getDiagnosticFixIt()
451 return D->getFixIt(FixIt, ReplacementRange); in clang_getDiagnosticFixIt()
DCIndexDiagnostic.h90 CXSourceRange *ReplacementRange) const = 0;
151 CXSourceRange *ReplacementRange) const override;
DCXLoadedDiagnostic.cpp144 CXSourceRange *ReplacementRange) const { in getFixIt()
146 if (ReplacementRange) in getFixIt()
147 *ReplacementRange = FixIts[FixIt].first; in getFixIt()
DCXLoadedDiagnostic.h60 CXSourceRange *ReplacementRange) const override;
/external/clang/include/clang/Tooling/Core/
DReplacement.h115 unsigned getOffset() const { return ReplacementRange.getOffset(); } in getOffset()
116 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength()
136 Range ReplacementRange; variable
/external/clang/lib/Tooling/Core/
DReplacement.cpp37 : 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()
112 this->ReplacementRange = Range(DecomposedLocation.second, Length); in setFromSourceLocation()
/external/clang/lib/Parse/
DParseTemplate.cpp803 CharSourceRange ReplacementRange = in ParseGreaterThanInTemplateList() local
811 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
/external/clang/tools/c-index-test/
Dc-index-test.c4124 CXSourceRange ReplacementRange; in printFixIts() local
4126 text = clang_getDiagnosticFixIt(D, i, &ReplacementRange); in printFixIts()
4130 printLocation(clang_getRangeStart(ReplacementRange)); in printFixIts()
4132 printLocation(clang_getRangeEnd(ReplacementRange)); in printFixIts()
/external/clang/include/clang-c/
DIndex.h1014 CXSourceRange *ReplacementRange);