This is an archive of the discontinued LLVM Phabricator instance.

Support -color-diagnostics={auto,always,never}.
ClosedPublic

Authored by ruiu on Nov 24 2016, 3:01 PM.

Details

Summary

-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

Event Timeline

ruiu updated this revision to Diff 79264.Nov 24 2016, 3:01 PM
ruiu retitled this revision from to Support -color-diagnostics={auto,always,never}..
ruiu updated this object.
ruiu added reviewers: evgeny777, rafael, grimar.
ruiu added a subscriber: llvm-commits.
grimar accepted this revision.Nov 24 2016, 3:12 PM
grimar edited edge metadata.

Looks like a cool feature for me.

test/ELF/color-diagnostics.test
1

support

This revision is now accepted and ready to land.Nov 24 2016, 3:12 PM
grimar added inline comments.Nov 24 2016, 3:13 PM
test/ELF/color-diagnostics.test
1

sequences

This revision was automatically updated to reflect the committed changes.