diff options
Diffstat (limited to 'llvm/tools/llvm-cov/CoverageViewOptions.h')
| -rw-r--r-- | llvm/tools/llvm-cov/CoverageViewOptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/tools/llvm-cov/CoverageViewOptions.h b/llvm/tools/llvm-cov/CoverageViewOptions.h index eafc0cfd165..350c264a287 100644 --- a/llvm/tools/llvm-cov/CoverageViewOptions.h +++ b/llvm/tools/llvm-cov/CoverageViewOptions.h @@ -11,6 +11,7 @@ #define LLVM_COV_COVERAGEVIEWOPTIONS_H #include "RenderingSupport.h" +#include <vector> namespace llvm { @@ -32,6 +33,7 @@ struct CoverageViewOptions { bool ShowFullFilenames; OutputFormat Format; std::string ShowOutputDirectory; + std::vector<std::string> DemanglerOpts; /// \brief Change the output's stream color if the colors are enabled. ColoredRawOstream colored_ostream(raw_ostream &OS, @@ -41,6 +43,9 @@ struct CoverageViewOptions { /// \brief Check if an output directory has been specified. bool hasOutputDirectory() const { return !ShowOutputDirectory.empty(); } + + /// \brief Check if a demangler has been specified. + bool hasDemangler() const { return !DemanglerOpts.empty(); } }; } |

