Make getColorDiagnostics return a boolean value instead of an enum.
authorRui Ueyama <ruiu@google.com>
Sat, 26 Nov 2016 15:10:01 +0000 (15:10 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 26 Nov 2016 15:10:01 +0000 (15:10 +0000)
commit72b1ee2533f6e7f574fd183f91cb2fc72463a415
tree8a9da2a187fd201c3650257d5b94c425ba8fcd77
parent1880bbed392528c1a3e14e24a298b69d6936a4a8
Make getColorDiagnostics return a boolean value instead of an enum.

Config->ColorDiagnostics was of type enum before. Now it is just a
boolean flag. Thanks Rafael for suggestion.

llvm-svn: 287978
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/Error.cpp