#ifndef LLVM_COV_COVERAGEREPORT_H
#define LLVM_COV_COVERAGEREPORT_H
#include "CoverageViewOptions.h"
#include "CoverageSummary.h"
namespace llvm {
class CoverageReport {
const CoverageViewOptions &Options;
CoverageSummary &Summary;
void render(const FileCoverageSummary &File, raw_ostream &OS);
void render(const FunctionCoverageSummary &Function, raw_ostream &OS);
public:
CoverageReport(const CoverageViewOptions &Options, CoverageSummary &Summary)
: Options(Options), Summary(Summary) {}
void renderFunctionReports(raw_ostream &OS);
void renderFileReports(raw_ostream &OS);
};
}
#endif // LLVM_COV_COVERAGEREPORT_H