diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-07-30 23:55:19 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-07-30 23:55:19 +0000 |
commit | bfe393fa0a2b204b3258a1d4768aaa1f737b2fc6 (patch) | |
tree | 832f01329f4816c3932ddd0e0f8b0eb03a146ade /clang/utils/scan-build | |
parent | a21f6c3c71db2b0bacddebb1f4e66417cab68ba1 (diff) | |
download | bcm5719-llvm-bfe393fa0a2b204b3258a1d4768aaa1f737b2fc6.tar.gz bcm5719-llvm-bfe393fa0a2b204b3258a1d4768aaa1f737b2fc6.zip |
Add scan-build option '-no-failure-reports' to supress the creation of a 'failures' subdirectory that includes crash reports, preprocessed files, etc.
llvm-svn: 77644
Diffstat (limited to 'clang/utils/scan-build')
-rwxr-xr-x | clang/utils/scan-build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/utils/scan-build b/clang/utils/scan-build index d766258fdeb..acdc4ce9cdc 100755 --- a/clang/utils/scan-build +++ b/clang/utils/scan-build @@ -959,6 +959,9 @@ ADVANCED OPTIONS: the 'basic' store model is used. 'region' specifies a field- sensitive store model. Be warned that the 'region' model is still in very early testing phase and may often crash. + + -no-failure-reports - Do not create a 'failures' subdirectory that includes + analyzer crash reports and preprocessed source files. AVAILABLE ANALYSES (multiple analyses may be specified): @@ -1172,6 +1175,11 @@ while (@ARGV) { $OutputFormat = "plist-html"; next; } + + if ($arg eq "-no-failure-reports") { + $ENV{"CCC_REPORT_FAILURES"} = 0; + next; + } DieDiag("unrecognized option '$arg'\n") if ($arg =~ /^-/); |