Path: blob/main/contrib/llvm-project/llvm/tools/llvm-cov/CoverageExporterLcov.h
35230 views
//===- CoverageExporterLcov.h - Code coverage lcov exporter ---------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This class implements a code coverage exporter for lcov trace file format.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_COV_COVERAGEEXPORTERLCOV_H13#define LLVM_COV_COVERAGEEXPORTERLCOV_H1415#include "CoverageExporter.h"1617namespace llvm {1819class CoverageExporterLcov : public CoverageExporter {20public:21CoverageExporterLcov(const coverage::CoverageMapping &CoverageMapping,22const CoverageViewOptions &Options, raw_ostream &OS)23: CoverageExporter(CoverageMapping, Options, OS) {}2425/// Render the CoverageMapping object.26void renderRoot(const CoverageFilters &IgnoreFilters) override;2728/// Render the CoverageMapping object for specified source files.29void renderRoot(ArrayRef<std::string> SourceFiles) override;30};3132} // end namespace llvm3334#endif // LLVM_COV_COVERAGEEXPORTERLCOV_H353637