Lines Matching refs:Ranges
90 ArrayRef<CharSourceRange> Ranges,
99 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, D);
101 // Get the ranges into a local array we can hack on.
102 SmallVector<CharSourceRange, 20> MutableRanges(Ranges.begin(),
103 Ranges.end());
127 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D);
346 // Helper function to fix up source ranges. It takes in an array of ranges,
347 // and outputs an array of ranges where we want to draw the range highlighting
357 mapDiagnosticRanges(FullSourceLoc CaretLoc, ArrayRef<CharSourceRange> Ranges,
363 for (const auto &Range : Ranges) {
426 ArrayRef<CharSourceRange> Ranges,
429 Ranges, SpellingRanges);
437 ArrayRef<CharSourceRange> Ranges) {
442 // Map the ranges into the FileID of the diagnostic location.
444 mapDiagnosticRanges(Loc, Ranges, SpellingRanges);
488 /// A helper function to check if the current ranges are all inside the same
491 ArrayRef<CharSourceRange> Ranges) {
495 mapDiagnosticRanges(Loc, Ranges, SpellingRanges);
497 /// Count all valid ranges.
499 for (const auto &Range : Ranges)
510 /// so to check if the ranges expands to the same beginning location.
530 /// \param Ranges The underlined ranges for this code snippet.
534 ArrayRef<CharSourceRange> Ranges,
551 if (checkRangesForMacroArgExpansion(FullSourceLoc(L, SM), Ranges))
572 emitSingleMacroExpansion(FullSourceLoc(*I, SM), Level, Ranges);
582 emitSingleMacroExpansion(FullSourceLoc(*I, SM), Level, Ranges);
594 emitSingleMacroExpansion(FullSourceLoc(*I, SM), Level, Ranges);