llvm-project/clang/lib
Bruno Cardoso Lopes 681d717219 [Driver] Fix driver support for color diagnostics
Diagnostics that happen during driver time do not have color output support
unless -fcolor-diagonostic is explicitly passed into the driver.  This is not a
problem for cc1 since dianostic arguments are properly handled and color is
enabled by default if the terminal supports it.

Make the driver behave like CC1. There are tests that already check for these
flags, but for the color itself there's no sensible way to test it.

Differential Revision: http://reviews.llvm.org/D20404

rdar://problem/26290980

llvm-svn: 271042
2016-05-27 20:43:00 +00:00
..
ARCMigrate Apply clang-tidy's misc-move-constructor-init throughout Clang. 2016-05-27 14:27:13 +00:00
AST [MSVC2015] Fix mangling for static variables initialization guards 2016-05-27 08:52:34 +00:00
ASTMatchers [ASTMatcher] Add a node matcher for UnresolvedLookupExpr. 2016-05-18 12:53:59 +00:00
Analysis Turn copies into references as suggested by clang-tidy's performance-unnecessary-copy-initialization. 2016-05-27 13:36:58 +00:00
Basic [mips] Kill 'support' for untested EABI. 2016-05-27 14:30:23 +00:00
CodeGen Add instcombine pass if sampleprofile pass is enabled. 2016-05-27 16:14:35 +00:00
Driver [Driver] Fix driver support for color diagnostics 2016-05-27 20:43:00 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format clang-format: Allow splitting the line after /**/-comments. 2016-05-27 08:59:34 +00:00
Frontend [Driver] Fix driver support for color diagnostics 2016-05-27 20:43:00 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [Headers] Remove redundant typedef. NFC. 2016-05-27 17:57:23 +00:00
Index Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Lex Apply clang-tidy's misc-move-constructor-init throughout Clang. 2016-05-27 14:27:13 +00:00
Parse [OpenMP] Parsing and sema support for the from clause 2016-05-26 17:49:04 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [OpenMP] Fix SEMA bug in the capture of global variables in template functions. 2016-05-27 15:21:27 +00:00
Serialization [OpenMP] Parsing and sema support for the from clause 2016-05-26 17:49:04 +00:00
StaticAnalyzer Apply clang-tidy's misc-move-constructor-init throughout Clang. 2016-05-27 14:27:13 +00:00
Tooling Apply clang-tidy's misc-move-constructor-init throughout Clang. 2016-05-27 14:27:13 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00