Jordan Rose
473e877c43
[diagtool] Add a new "tree" command to shows warnings activated by a flag.
...
% diagtool tree -Wunused-value
-Wunused-value
-Wunused-comparison
warn_unused_comparison
-Wunused-result
warn_unused_result
warn_unused_call
warn_unused_container_subscript_expr
warn_unused_expr
warn_unused_property_expr
warn_unused_voidptr
llvm-svn: 159093
2012-06-24 00:07:45 +00:00
Jordan Rose
2fe20dca2a
[diagtool] Re-add show-enabled, minimizing the code pulled in from Frontend.
...
Now correctly builds with both GNU make and CMake.
llvm-svn: 157932
2012-06-04 16:57:50 +00:00
Jordan Rose
573649eb8b
[diagtool] Pull show-enabled back out for now.
...
Need to figure out how to get Frontend's warning parsing without bringing
in all of Frontend.
llvm-svn: 157847
2012-06-01 22:23:02 +00:00
Jordan Rose
d617e06997
[diagtool] Add 'show-enabled', which displays which warnings are enabled.
...
show-enabled uses the command line you give it to build a CompilerInstance,
so any flags you pass will be processed as if running clang proper.
llvm-svn: 157842
2012-06-01 21:23:17 +00:00