1 //===- CoverageViewOptions.h - Code coverage display options -------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_COV_COVERAGEVIEWOPTIONS_H
11 #define LLVM_COV_COVERAGEVIEWOPTIONS_H
13 #include "RenderingSupport.h"
17 /// \brief The options for displaying the code coverage information.
18 struct CoverageViewOptions {
23 bool ShowRegionMarkers;
24 bool ShowLineStatsOrRegionMarkers;
25 bool ShowExpandedRegions;
26 bool ShowFunctionInstantiations;
28 /// \brief Change the output's stream color if the colors are enabled.
29 ColoredRawOstream colored_ostream(raw_ostream &OS,
30 raw_ostream::Colors Color) const {
31 return llvm::colored_ostream(OS, Color, Colors);
36 #endif // LLVM_COV_COVERAGEVIEWOPTIONS_H