HomePhabricator

[Support] Replace 'DisableColors' boolean with 'ColorMode' enum

Authored by JDevlieghere on Jun 8 2020, 9:46 AM.

Description

[Support] Replace 'DisableColors' boolean with 'ColorMode' enum

Replace the DisableColors with a ColorMode which can be set to Auto,
Enabled and Disabled. The purpose of this change is to make it possible
to ignore the command line option not only for disabling colors, but
also for enabling them.

Differential revision: https://reviews.llvm.org/D81056