mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
llvm-cov: Continue trying to appease a bot
This bot doesn't like me. I don't know why: http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/24425 Move the color option enum's definition out of the function that creates the cl::opt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c7c4c36694
commit
9cd407b11c
@ -228,6 +228,10 @@ std::unique_ptr<CoverageMapping> CodeCoverageTool::load() {
|
||||
return Coverage;
|
||||
}
|
||||
|
||||
namespace {
|
||||
enum Colors { Auto, Always, Never };
|
||||
}
|
||||
|
||||
int CodeCoverageTool::run(Command Cmd, int argc, const char **argv) {
|
||||
// Print a stack trace if we signal out.
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
@ -294,7 +298,6 @@ int CodeCoverageTool::run(Command Cmd, int argc, const char **argv) {
|
||||
"greater than the given threshold"),
|
||||
cl::cat(FilteringCategory));
|
||||
|
||||
enum Colors { Auto, Always, Never };
|
||||
cl::opt<Colors> Color(
|
||||
"color", cl::desc("Configure color output:"), cl::init(Colors::Auto),
|
||||
cl::values(clEnumValN(Colors::Auto, "auto",
|
||||
|
Loading…
Reference in New Issue
Block a user