aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CoverageSummaryInfo.h
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-09-20 15:31:56 +0000
committerJustin Bogner <mail@justinbogner.com>2014-09-20 15:31:56 +0000
commit953e2407edb956eb846a79fc0dce08d032ea0d66 (patch)
tree617f3d06bf359ec67e4b312f2755e0453ce6cf9b /llvm/tools/llvm-cov/CoverageSummaryInfo.h
parentf584649ae397396016b1fbfc6fe8d8ea29e2ebf5 (diff)
downloadllvm-953e2407edb956eb846a79fc0dce08d032ea0d66.zip
llvm-953e2407edb956eb846a79fc0dce08d032ea0d66.tar.gz
llvm-953e2407edb956eb846a79fc0dce08d032ea0d66.tar.bz2
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.h')
-rw-r--r--llvm/tools/llvm-cov/CoverageSummaryInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/CoverageSummaryInfo.h b/llvm/tools/llvm-cov/CoverageSummaryInfo.h
index 8a40867..18b2704 100644
--- a/llvm/tools/llvm-cov/CoverageSummaryInfo.h
+++ b/llvm/tools/llvm-cov/CoverageSummaryInfo.h
@@ -101,7 +101,7 @@ struct FunctionCoverageSummary {
/// \brief Compute the code coverage summary for the given function coverage
/// mapping record.
static FunctionCoverageSummary
- get(const coverage::FunctionCoverageMapping &Function);
+ get(const coverage::FunctionRecord &Function);
};
/// \brief A summary of file's code coverage.