Home | History | Annotate | Download | only in Format

Lines Matching defs:Range

1590   // Returns true if the range from 'First' to 'Last' intersects with one of the
1599 CharSourceRange Range = CharSourceRange::getCharRange(Start, End);
1600 return affectsCharSourceRange(Range);
1612 // Returns true if 'Range' intersects with one of the input ranges.
1613 bool affectsCharSourceRange(const CharSourceRange &Range) {
1617 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), I->getBegin()) &&
1618 !SourceMgr.isBeforeInTranslationUnit(I->getEnd(), Range.getBegin()))
1725 static bool affectsRange(ArrayRef<tooling::Range> Ranges, unsigned Start,
1727 for (auto Range : Ranges) {
1728 if (Range.getOffset() < End &&
1729 Range.getOffset() + Range.getLength() > Start)
1740 ArrayRef<tooling::Range> Ranges, StringRef FileName,
1793 ArrayRef<tooling::Range> Ranges,
1888 ArrayRef<tooling::Range> Ranges,
1906 for (const tooling::Range &Range : Ranges) {
1907 SourceLocation Start = StartOfFile.getLocWithOffset(Range.getOffset());
1908 SourceLocation End = Start.getLocWithOffset(Range.getLength());