summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/regerror.c
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-18 21:31:37 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-18 21:31:37 +0000
commit2fa69ef9349008aa0a7376a3bf6587e188488dd0 (patch)
treeed28a952a72d6b5f45e2ffc5176952476eacacb0 /llvm/lib/Support/regerror.c
parent832c2134a93ab2da00aded9c40b249045069ad11 (diff)
downloadbcm5719-llvm-2fa69ef9349008aa0a7376a3bf6587e188488dd0.tar.gz
bcm5719-llvm-2fa69ef9349008aa0a7376a3bf6587e188488dd0.zip
Add new tool 'diag-build' for showing enabled warnings in a project.
diag-build acts as a wrapper for 'diagtool show-enabled', in the same way that scan-build acts as a wrapper for the static analyzer. The common case is simple: use 'diag-build make' or 'diag-build xcodebuild' to list the warnings enabled for the first compilation command we see. Other build systems require you to manually specify "dry-run" and "use $CC and $CXX"; if there is a build system you are interested in, please add it to the switch statement. diag-build is fairly stupid right now, but it serves its basic purpose. Hopefully it can grow to meet any additional requirements. llvm-svn: 158682
Diffstat (limited to 'llvm/lib/Support/regerror.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud