Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Ranges

431                                     ArrayRef<CharSourceRange> Ranges,
442 emitDiagnosticLoc(Loc, PLoc, Level, Ranges);
454 // Get the ranges into a local array we can hack on.
455 SmallVector<CharSourceRange, 20> MutableRanges(Ranges.begin(),
456 Ranges.end());
577 /// ranges necessary.
580 ArrayRef<CharSourceRange> Ranges) {
629 if (DiagOpts.ShowSourceRanges && !Ranges.empty()) {
634 for (ArrayRef<CharSourceRange>::const_iterator RI = Ranges.begin(),
635 RE = Ranges.end();
637 // Ignore invalid ranges.
688 /// \param Ranges The underlined ranges for this code snippet.
695 SmallVectorImpl<CharSourceRange>& Ranges,
706 emitSnippetAndCaret(Loc, Level, Ranges, Hints);
717 // FIXME: Map ranges?
718 emitMacroExpansionsAndCarets(OneLevelUp, Level, Ranges, Hints, MacroDepth,
738 // Map the ranges.
739 for (SmallVectorImpl<CharSourceRange>::iterator I = Ranges.begin(),
740 E = Ranges.end();
767 Ranges, ArrayRef<FixItHint>());
775 /// \param Ranges The underlined ranges for this code snippet.
779 SmallVectorImpl<CharSourceRange>& Ranges,
788 // diagnostic has ranges. We don't want to emit the same caret
792 if (Loc == LastLoc && Ranges.empty() && Hints.empty() &&
835 // Highlight all of the characters covered by Ranges with ~ characters.
836 for (SmallVectorImpl<CharSourceRange>::iterator I = Ranges.begin(),
837 E = Ranges.end();
1096 // Adjust for token ranges.