[llvm-objcopy] [COFF] Fix warnings abuilt missing field initialization. NFC.
[llvm-complete.git] / tools / llvm-cov / CoverageExporterLcov.h
blob539b2dacd38424d86e9a0da745d0a3e0f12624c5
1 //===- CoverageExporterLcov.h - Code coverage lcov exporter ---------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This class implements a code coverage exporter for lcov trace file format.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_COV_COVERAGEEXPORTERLCOV_H
15 #define LLVM_COV_COVERAGEEXPORTERLCOV_H
17 #include "CoverageExporter.h"
19 namespace llvm {
21 class CoverageExporterLcov : public CoverageExporter {
22 public:
23 CoverageExporterLcov(const coverage::CoverageMapping &CoverageMapping,
24 const CoverageViewOptions &Options, raw_ostream &OS)
25 : CoverageExporter(CoverageMapping, Options, OS) {}
27 /// Render the CoverageMapping object.
28 void renderRoot(const CoverageFilters &IgnoreFilters) override;
30 /// Render the CoverageMapping object for specified source files.
31 void renderRoot(ArrayRef<std::string> SourceFiles) override;
34 } // end namespace llvm
36 #endif // LLVM_COV_COVERAGEEXPORTERLCOV_H