[PATCH] Make clang tools ignore -fcolor-diagnostics and -fdiagnostics-color retrieved from the compilation database.

David Blaikie dblaikie at gmail.com
Tue Jun 4 13:04:17 PDT 2013


On Tue, Jun 4, 2013 at 1:01 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>
>   That's not right. What if I'm running my tool from the command line? Better to just take those out of the compilation database.

I've a slight tendency to agree - though I'm open to
correction/countersuggestion: the compilation database only really
needs the things that affect compilation. User-features (error limit?
caret diagnostics? color diagnostics?) don't seem relevant to the
database, but perhaps there's a use case I've not thought of. (or that
no one has thought of - which would advocate in favor of leaving them
in "just in case", perhaps)

>
> http://llvm-reviews.chandlerc.com/D917
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list