]> granicus.if.org Git - llvm/commit
[llvm-cov] Simplify code to find the first uncovered segment. NFC.
authorVedant Kumar <vsk@apple.com>
Mon, 18 Sep 2017 23:37:27 +0000 (23:37 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 18 Sep 2017 23:37:27 +0000 (23:37 +0000)
commit2fbca6bfaecf6a7444f6afc1a9511187d781dc8e
tree7d5bbc572b755342003a4aec9224bcd35496dcc3
parent36409f332619d1ee97147eb96160f53a0d5f707d
[llvm-cov] Simplify code to find the first uncovered segment. NFC.

Now that that segment builder is guaranteed to produce segments in
sorted order, we don't need a linear scan to get the right result.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313595 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-cov/SourceCoverageView.cpp