diff options
author | Rui Ueyama <ruiu@google.com> | 2019-08-02 07:22:34 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2019-08-02 07:22:34 +0000 |
commit | 4d41c332ef57281973e5e73295a56132ae12df77 (patch) | |
tree | 2fd94fb54c00a1233ce74978d3148d250bca01cd /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 206fe82be410ff8cc7619c89afdff6561275a015 (diff) | |
download | bcm5719-llvm-4d41c332ef57281973e5e73295a56132ae12df77.tar.gz bcm5719-llvm-4d41c332ef57281973e5e73295a56132ae12df77.zip |
Revert r367649: Improve raw_ostream so that you can "write" colors using operator<<
This reverts commit r367649 in an attempt to unbreak Windows bots.
llvm-svn: 367658
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
-rw-r--r-- | llvm/utils/FileCheck/FileCheck.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/utils/FileCheck/FileCheck.cpp b/llvm/utils/FileCheck/FileCheck.cpp index b63447faa1c..d9cad13c465 100644 --- a/llvm/utils/FileCheck/FileCheck.cpp +++ b/llvm/utils/FileCheck/FileCheck.cpp @@ -138,11 +138,12 @@ struct MarkerStyle { /// The starting char (before tildes) for marking the line. char Lead; /// What color to use for this annotation. - raw_ostream::Color Color; + raw_ostream::Colors Color; /// A note to follow the marker, or empty string if none. std::string Note; MarkerStyle() {} - MarkerStyle(char Lead, raw_ostream::Color Color, const std::string &Note = "") + MarkerStyle(char Lead, raw_ostream::Colors Color, + const std::string &Note = "") : Lead(Lead), Color(Color), Note(Note) {} }; |