llvm/llvm/tools/llvm-cov/SourceCoverageViewText.h

//===- SourceCoverageViewText.h - A text-based code coverage view ---------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file This file defines the interface to the text-based coverage renderer.
///
//===----------------------------------------------------------------------===//

#ifndef LLVM_COV_SOURCECOVERAGEVIEWTEXT_H
#define LLVM_COV_SOURCECOVERAGEVIEWTEXT_H

#include "SourceCoverageView.h"

namespace llvm {

usingnamespacecoverage;

/// A coverage printer for text output.
class CoveragePrinterText : public CoveragePrinter {};

/// A coverage printer for text output, but generates index files in every
/// subdirectory to show a hierarchical view. The implementation is similar
/// to CoveragePrinterHTMLDirectory. So please refer to that for more comments.
class CoveragePrinterTextDirectory : public CoveragePrinterText {};

/// A code coverage view which supports text-based rendering.
class SourceCoverageViewText : public SourceCoverageView {};

} // namespace llvm

#endif // LLVM_COV_SOURCECOVERAGEVIEWTEXT_H