]> granicus.if.org Git - clang/commit
[diagtool] Use `operator<<(Colors)` to print out colored output.
authorRui Ueyama <ruiu@google.com>
Thu, 8 Aug 2019 07:04:01 +0000 (07:04 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 8 Aug 2019 07:04:01 +0000 (07:04 +0000)
commitbabd6daebcee60968df35f6f9895d412c0f39d87
tree896eafd55bd46060a78bd1691542739e20cb6dfd
parente4f9f189c712d122f355a6cc9f0bf492e1f601b0
[diagtool] Use `operator<<(Colors)` to print out colored output.

r368131 introduced this new API to print out messages in colors.
If the colored output is disabled, `operator<<(Colors)` becomes nop.
No functionality change intended.

Differential Revision: https://reviews.llvm.org/D65854

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368259 91177308-0d34-0410-b5e6-96231b3b80d8
tools/diagtool/TreeView.cpp