[PATCH] D81056: [Support] Replace 'DisableColors' boolean with 'ColorMode' enum
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 10:58:28 PDT 2020
JDevlieghere marked an inline comment as done.
JDevlieghere added inline comments.
================
Comment at: llvm/unittests/Support/WithColorTest.cpp:39
+ WithColor(OS, HighlightColor::Error, ColorMode::Enable) << "test";
+ EXPECT_EQ("\x1B[0;1;31mtest\x1B[0m", OS.str());
+ }
----------------
Not sure if this works on Windows, I'll have to double check.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81056/new/
https://reviews.llvm.org/D81056
More information about the llvm-commits
mailing list