]> granicus.if.org Git - clang/commit
Make clang tools ignore -fcolor-diagnostics and -fdiagnostics-color retrieved from...
authorAlexander Kornienko <alexfh@google.com>
Wed, 5 Jun 2013 11:33:11 +0000 (11:33 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 5 Jun 2013 11:33:11 +0000 (11:33 +0000)
commite7b04868ea410c846e4c63c80e32538bbc693264
treef68b4f58e4970c11aa325ee31b1299cd1d738a65
parent4b9b292074b56e8cf2e72c2ef70ec59e5356a02a
Make clang tools ignore -fcolor-diagnostics and -fdiagnostics-color retrieved from the compilation database.

Summary:
Clang tools' diagnostic output could be force colored when a command
line from the compilation database contains -fcolor-diagnostics or
-fdiagnostics-color. This is not what we want e.g. for vim integration.

Reviewers: klimek

Reviewed By: klimek

CC: cfe-commits, revane, jordan_rose
Differential Revision: http://llvm-reviews.chandlerc.com/D917

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Tooling/ArgumentsAdjusters.cpp