OSDN Git Service

[Support] Extend WithColor helpers
authorJonas Devlieghere <jonas@devlieghere.com>
Sun, 15 Apr 2018 08:44:15 +0000 (08:44 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Sun, 15 Apr 2018 08:44:15 +0000 (08:44 +0000)
commit5365e8b41893d044805a280c862c6a9a8732f3cc
tree001f0267f0146c72e1a22ea4c3cbfb9dceae62e2
parent68232226c47123411a51014277283a22913723de
[Support] Extend WithColor helpers

Although printing warnings and errors to stderr is by far the most
common case, this patch makes it possible to specify any stream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330094 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/WithColor.h
lib/DebugInfo/DWARF/DWARFVerifier.cpp
lib/Support/WithColor.cpp