diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-09-20 15:31:56 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-09-20 15:31:56 +0000 |
commit | 953e2407edb956eb846a79fc0dce08d032ea0d66 (patch) | |
tree | 617f3d06bf359ec67e4b312f2755e0453ce6cf9b /llvm/tools/llvm-cov/CoverageSummaryInfo.cpp | |
parent | f584649ae397396016b1fbfc6fe8d8ea29e2ebf5 (diff) | |
download | bcm5719-llvm-953e2407edb956eb846a79fc0dce08d032ea0d66.tar.gz bcm5719-llvm-953e2407edb956eb846a79fc0dce08d032ea0d66.zip |
llvm-cov: Disentangle the coverage data logic from the display (NFC)
This splits the logic for actually looking up coverage information
from the logic that displays it. These were tangled rather thoroughly
so this change is a bit large, but it mostly consists of moving things
around. The coverage lookup logic itself now lives in the library,
rather than being spread between the library and the tool.
llvm-svn: 218184
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageSummaryInfo.cpp')
-rw-r--r-- | llvm/tools/llvm-cov/CoverageSummaryInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/CoverageSummaryInfo.cpp b/llvm/tools/llvm-cov/CoverageSummaryInfo.cpp index 53173577d7f..334bc73e0d9 100644 --- a/llvm/tools/llvm-cov/CoverageSummaryInfo.cpp +++ b/llvm/tools/llvm-cov/CoverageSummaryInfo.cpp @@ -18,7 +18,7 @@ using namespace llvm; using namespace coverage; FunctionCoverageSummary -FunctionCoverageSummary::get(const FunctionCoverageMapping &Function) { +FunctionCoverageSummary::get(const coverage::FunctionRecord &Function) { // Compute the region coverage size_t NumCodeRegions = 0, CoveredRegions = 0; for (auto &CR : Function.CountedRegions) { |