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

Nico Weber thakis at chromium.org
Wed Apr 17 14:54:23 PDT 2013


On Wed, Apr 17, 2013 at 1:55 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 17 April 2013 12:17, Nico Weber <thakis at chromium.org> wrote:
> > 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.
>
> hehe
>
> > The attached patch lets clang understand gcc's spelling of the flag as
> well.
> >
> > Ok?
>
> Maybe also test what happens when clang's traditional and gcc's
> options are mixed?
>

Good idea, done.


> LGTM.
>

r179728, thanks!


>
> > Nico
> >
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130417/8663d6d4/attachment.html>


More information about the cfe-commits mailing list