Lines Matching refs:SR

346     SpellingRegion SR{SM, LocStart, LocEnd};  in adjustSkippedRange()  local
347 SR.ColumnStart = 1; in adjustSkippedRange()
349 SR.LineStart == SM.getSpellingLineNumber(PrevTokLoc)) in adjustSkippedRange()
350 SR.LineStart++; in adjustSkippedRange()
352 SR.LineEnd == SM.getSpellingLineNumber(NextTokLoc)) { in adjustSkippedRange()
353 SR.LineEnd--; in adjustSkippedRange()
354 SR.ColumnEnd++; in adjustSkippedRange()
356 if (SR.isInSourceOrder()) in adjustSkippedRange()
357 return SR; in adjustSkippedRange()
388 Optional<SpellingRegion> SR; in gatherSkippedRegions() local
390 SR = adjustSkippedRange(SM, LocStart, LocEnd, I.PrevTokLoc, in gatherSkippedRegions()
393 SR = {SM, LocStart, LocEnd}; in gatherSkippedRegions()
395 if (!SR) in gatherSkippedRegions()
398 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions()
399 SR->ColumnEnd); in gatherSkippedRegions()
438 SpellingRegion SR{SM, LocStart, LocEnd}; in emitSourceRegions() local
439 assert(SR.isInSourceOrder() && "region start and end out of order"); in emitSourceRegions()
443 Region.getCounter(), *CovFileID, SR.LineStart, SR.ColumnStart, in emitSourceRegions()
444 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
448 SR.LineStart, SR.ColumnStart, SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
451 Region.getCounter(), *CovFileID, SR.LineStart, SR.ColumnStart, in emitSourceRegions()
452 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
477 SpellingRegion SR{SM, ParentLoc, LocEnd}; in emitExpansionRegions() local
478 assert(SR.isInSourceOrder() && "region start and end out of order"); in emitExpansionRegions()
480 *ParentFileID, *ExpandedFileID, SR.LineStart, SR.ColumnStart, in emitExpansionRegions()
481 SR.LineEnd, SR.ColumnEnd)); in emitExpansionRegions()