[patch] Add support for gcc's spelling of fcolor-diagnostics

Nico Weber thakis at chromium.org
Wed Apr 17 09:17:48 PDT 2013


Hi,

gcc recently added colored diagnostics [1]. Their flag to control it is
slightly different from clangs, thereby making it obvious that they
independently discovered this concept and weren't influenced by clang at
all.

The attached patch lets clang understand gcc's spelling of the flag as well.

Ok?

Nico

1:
http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html
http://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=commitdiff;h=adc604d41825b3cbd09045baeef09b1b88fc5a02
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130417/582790c1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-diag-color.patch
Type: application/octet-stream
Size: 5088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130417/582790c1/attachment.obj>


More information about the cfe-commits mailing list