]> granicus.if.org Git - llvm/commit
[llvm-cov] Pass LineCoverageStats in SourceCoverageView. NFC.
authorVedant Kumar <vsk@apple.com>
Wed, 18 Oct 2017 18:52:28 +0000 (18:52 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 18 Oct 2017 18:52:28 +0000 (18:52 +0000)
commitd35bb38d3b5e4ddd526132eff4a71061703c63a1
tree1c9e8c8953ae3be1b4f53f04382576430e0635e2
parent55fff379906c7d957505aae85ebff1fcdc67cdb8
[llvm-cov] Pass LineCoverageStats in SourceCoverageView. NFC.

Instead of copying around the wrapped segment and the list of line
segments, just pass a reference to a LineCoverageStats object. This
simplifies the interface. It also makes an upcoming change to suppress
distracting highlights possible.

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