forked from OSchip/llvm-project
parent
9ad8394e3b
commit
37aeb2d7c2
|
@ -206,8 +206,7 @@ gatherLineSubViews(size_t &CurrentIdx,
|
|||
while (CurrentIdx < E &&
|
||||
Items[CurrentIdx]->getSubViewsExpansionLine() == LineNo)
|
||||
++CurrentIdx;
|
||||
return ArrayRef<std::unique_ptr<SourceCoverageView>>(Items.data() + PrevIdx,
|
||||
CurrentIdx - PrevIdx);
|
||||
return Items.slice(PrevIdx, CurrentIdx);
|
||||
}
|
||||
|
||||
void SourceCoverageView::render(raw_ostream &OS, unsigned Offset) {
|
||||
|
|
Loading…
Reference in New Issue