[all-commits] [llvm/llvm-project] 8744d7: [Support] Move color handling from raw_fd_ostream ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jun 8 09:03:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8744d7f25b64000f8e34bc8e2c8b8eaccb4c7910
      https://github.com/llvm/llvm-project/commit/8744d7f25b64000f8e34bc8e2c8b8eaccb4c7910
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/lib/Support/raw_ostream.cpp
    M llvm/unittests/Support/raw_ostream_test.cpp

  Log Message:
  -----------
  [Support] Move color handling from raw_fd_ostream to raw_ostream

Move the color handling code from raw_fd_ostream to raw_ostream. This
makes it possible to use colors with any ostream when enabled. The
existing behavior where only raw_fd_ostream supports colors by default
remains unchanged.

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




More information about the All-commits mailing list