]> granicus.if.org Git - clang/commit
[diagtool] Add 'show-enabled', which displays which warnings are enabled.
authorJordan Rose <jordan_rose@apple.com>
Fri, 1 Jun 2012 21:23:17 +0000 (21:23 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 1 Jun 2012 21:23:17 +0000 (21:23 +0000)
commitf11b0f9a4e8d79f1bf59f4271f96d28b55bcc067
tree7bbeae13ab6fe02559808068b24312466fa216e0
parent39876df44d4aec9cbcb30bdfd6a0bc26867a2e75
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157842 91177308-0d34-0410-b5e6-96231b3b80d8
test/Misc/warning-flags-enabled.c [new file with mode: 0644]
tools/diagtool/CMakeLists.txt
tools/diagtool/DiagnosticNames.cpp [new file with mode: 0644]
tools/diagtool/DiagnosticNames.h [new file with mode: 0644]
tools/diagtool/ListWarnings.cpp
tools/diagtool/Makefile
tools/diagtool/ShowEnabledWarnings.cpp [new file with mode: 0644]