]> granicus.if.org Git - clang/commit
Fix colored diagnostics from tools
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 30 Aug 2016 17:42:29 +0000 (17:42 +0000)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 30 Aug 2016 17:42:29 +0000 (17:42 +0000)
commit9270b6d0ae634e0a9d7460971f891ba8ed3917a7
tree2fb6abb88f0ce60318da51e3b683be6f34dfa147
parent47d3e4ed467e4825870b8ab7926e107c6039df47
Fix colored diagnostics from tools

r271042 changed the way the diagnostic arguments are parsed. It assumes that
the diagnostics options were already parsed by the "Driver".
For tools using clang::Tooling, the diagnostics argument were not parsed.

Differential Revision: https://reviews.llvm.org/D23837

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