[PATCH] D27117: Support -color-diagnostics={auto,always,never}.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 15:01:06 PST 2016


ruiu created this revision.
ruiu added reviewers: evgeny777, rafael, grimar.
ruiu added a subscriber: llvm-commits.

-color-diagnostics=auto is default because that's the same as
Clang's default. When color is enabled, error or warning messages
are colored like this.

  error:
  <bold>ld.lld</bold> <red>error:</red> foo.o: no such file
  
  warning:
  <bold>ld.lld</bold> <magenta>warning:</magenta> foo.o: no such file


https://reviews.llvm.org/D27117

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Error.cpp
  ELF/Options.td
  test/ELF/color-diagnostics.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27117.79264.patch
Type: text/x-patch
Size: 5976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161124/739ec872/attachment.bin>


More information about the llvm-commits mailing list