hanchenye-llvm-project/clang/tools/diagtool
Jonas Devlieghere 5dc87861d6 [diagtool] Change default tree behavior to print only flags
This patch changes the default behavior of `diagtool tree` to only
display warning flags and not the internal warnings flags. The latter is
an implementation detail of the compiler and usually not what the users
wants.

Furthermore, flags that are enabled by default are now also printed in
green. Originally, this was only the case for the diagnostic names.

Differential revision: https://reviews.llvm.org/D37390

llvm-svn: 312546
2017-09-05 18:04:40 +00:00
..
CMakeLists.txt
DiagTool.cpp
DiagTool.h
DiagnosticNames.cpp [NFC] Loop modernization in diagtool 2017-09-05 18:04:34 +00:00
DiagnosticNames.h [NFC] Loop modernization in diagtool 2017-09-05 18:04:34 +00:00
FindDiagnosticID.cpp
ListWarnings.cpp [NFC] Loop modernization in diagtool 2017-09-05 18:04:34 +00:00
ShowEnabledWarnings.cpp [NFC] Loop modernization in diagtool 2017-09-05 18:04:34 +00:00
TreeView.cpp [diagtool] Change default tree behavior to print only flags 2017-09-05 18:04:40 +00:00
diagtool_main.cpp