summaryrefslogtreecommitdiffstats
path: root/clang/utils/scan-build
Commit message (Collapse)AuthorAgeFilesLines
...
* Update scan-build to add markers about crashes.Daniel Dunbar2008-09-251-1/+4
| | | | llvm-svn: 56603
* Use .txt extension for info files.Ted Kremenek2008-09-251-3/+3
| | | | llvm-svn: 56598
* For generated index.html, look for "scan-view.css", not "/scan-view.css"Ted Kremenek2008-09-231-1/+1
| | | | llvm-svn: 56510
* Yank out special CSS for button rendering (not very portable or well tested, ↵Ted Kremenek2008-09-221-12/+0
| | | | | | and we were encountering race conditions with CSS loading). llvm-svn: 56449
* Add "SUMMARYENDHEAD" tag.Ted Kremenek2008-09-221-0/+1
| | | | llvm-svn: 56445
* Don't embed CSS inside scan-build script; use external scanview.css.Ted Kremenek2008-09-221-27/+13
| | | | llvm-svn: 56444
* Don't emit link to source file.Ted Kremenek2008-09-221-13/+2
| | | | llvm-svn: 56443
* Make "View Report" just a normal link again.Ted Kremenek2008-09-221-1/+1
| | | | llvm-svn: 56442
* Don't print out the path length.Ted Kremenek2008-09-221-6/+4
| | | | llvm-svn: 56441
* Use scan-view to view reports. Opening index.html is deprecated.Ted Kremenek2008-09-221-4/+6
| | | | llvm-svn: 56431
* Patch from Richard Godbee:Ted Kremenek2008-09-221-7/+86
| | | | | | | Improve scan-build results to include the user's host name, the working directory of the analyzed project, and the date the analysis run took place. llvm-svn: 56421
* Add webkit styles using Javascript (detect for AppleWebKit)Ted Kremenek2008-09-211-1/+12
| | | | llvm-svn: 56408
* Remove debugging message.Ted Kremenek2008-09-211-1/+0
| | | | llvm-svn: 56398
* scan-build now prints out bug categories.Ted Kremenek2008-09-211-60/+133
| | | | llvm-svn: 56395
* Have ScanView.py generate a "<td></td>" pair in the output HTML instead of ↵Ted Kremenek2008-09-211-1/+1
| | | | | | having scan-build output an empty (and possibly unused) <td>. llvm-svn: 56393
* Add REPORTBUG marker to scan-build.Daniel Dunbar2008-09-191-0/+4
| | | | llvm-svn: 56373
* Analysis option -warn-objc-nserror-methods is no longer available. (check is ↵Ted Kremenek2008-09-181-1/+0
| | | | | | done automatically with -checker-cfref) llvm-svn: 56313
* Enable '-warn-objc-nserror-methods' by default.Ted Kremenek2008-09-181-1/+2
| | | | llvm-svn: 56298
* Include links to stderr output of clang in the table of files that clang ↵Ted Kremenek2008-09-121-3/+3
| | | | | | rejects. llvm-svn: 56173
* Bug fix: <rdar://problem/6164367>Ted Kremenek2008-09-111-1/+1
| | | | | | | scan-build now correctly processes path prefixes that contain multiple '+' characters or other regex control characters. llvm-svn: 56121
* Check if the environment variable TERM is defined before using it.Ted Kremenek2008-09-111-2/+3
| | | | | | This fixes: <rdar://problem/6164279> scan-build gives error when invoked without TERM variable llvm-svn: 56110
* Patch to scan-build by Jordan Breeding:Ted Kremenek2008-09-041-6/+5
| | | | | | | - Don't remove $BaseDir; may be unsafe - Always create HTML directory with parents llvm-svn: 55813
* scan-build:Ted Kremenek2008-09-041-3/+11
| | | | | | | - Only set the environment variable 'CXX' if the user specifies --use-c++. - Fix regression when setting LDPLUSPLUS: add a 'which' to determine the location of g++. This regression was pointed out by Jordan Breeding! llvm-svn: 55780
* Added --use-cxx option to scan-build.Ted Kremenek2008-09-031-8/+30
| | | | llvm-svn: 55706
* Use path information from .info files when computing common prefix information.Ted Kremenek2008-08-251-2/+19
| | | | | | This partially implements PR 2705: http://llvm.org/bugs/show_bug.cgi?id=2705 llvm-svn: 55327
* ccc-analyzer now correctly reports the exit code from 'cc'.Ted Kremenek2008-08-251-1/+1
| | | | | | | scan-build now correctly reports the exit code from the build command. Fixes: <rdar://problem/6172224> llvm-svn: 55324
* Added --use-cc option to scan-build to allow the user to specify what ↵Ted Kremenek2008-08-211-0/+22
| | | | | | compiler they want to use for code compilation. llvm-svn: 55142
* scan-build/ccc-analyzer now also report clang parser failures.Ted Kremenek2008-08-181-4/+7
| | | | llvm-svn: 54931
* Have scan-build/ccc-analyzer generate preprocessed .i/.mi files for sources ↵Ted Kremenek2008-08-081-72/+111
| | | | | | that clang crashes on. llvm-svn: 54552
* Fix by Jordan Breeding: when scanning for prior runs, scan-build should ↵Ted Kremenek2008-08-071-1/+1
| | | | | | ignore files that are not directories. llvm-svn: 54473
* Misc cleanups.Ted Kremenek2008-08-041-39/+42
| | | | | | When results go to a auto-generated dir in /tmp, don't use randomized file names. Just output /tmp/scan-build-DATE-counter, where counter is an auto-incremented counter for runs produced that day. llvm-svn: 54325
* Convert remaining "open" calls to use three-argument form (thanks to Sam ↵Ted Kremenek2008-08-041-19/+13
| | | | | | | | Bishop for the tip!). Recognize 'ccc-analyzer' as a build command some users may use. Treat it just like calling gcc. llvm-svn: 54323
* "Escape" bug names with quotes for selecting/deselecting from the bug table.Ted Kremenek2008-07-301-5/+3
| | | | llvm-svn: 54220
* Enabled 'unused ivars' check by default.Ted Kremenek2008-07-251-1/+2
| | | | llvm-svn: 54052
* Remove typo.Ted Kremenek2008-07-181-1/+1
| | | | llvm-svn: 53776
* Quote invocation of clang in pipe to handle paths with spaces.Ted Kremenek2008-07-181-1/+1
| | | | llvm-svn: 53775
* Have scan-build control default analyses.Ted Kremenek2008-07-151-3/+8
| | | | llvm-svn: 53654
* Added --status-bugs option to scan-build. By default, the exit status ofTed Kremenek2008-07-151-23/+43
| | | | | | | | | | scan-build is the same as the exit status of the executed build command. With this option, the exit status of scan-build is 1 if the analyzer flagged any bugs, and 0 otherwise. This addresses: <rdar://problem/6075320> llvm-svn: 53642
* Per Sam Bishop's excellent suggestion, use "system" instead of backticks to ↵Ted Kremenek2008-07-151-13/+13
| | | | | | invoke sub-commands used by scan-build. This avoids meta-character translation issues caused by a shell subprocess. llvm-svn: 53640
* Quote file names to better handle paths with spaces.Ted Kremenek2008-07-151-9/+9
| | | | llvm-svn: 53635
* scan-build now propagates up the exit status of the build command.Ted Kremenek2008-07-151-2/+5
| | | | llvm-svn: 53620
* scan-build now interrogates clang for a list of available analyses, and presentsTed Kremenek2008-07-151-23/+79
| | | | | | these as options to the user of scan-build. llvm-svn: 53618
* scan-build now also prints the HTML directory reports were emitted to at the ↵Ted Kremenek2008-07-111-1/+4
| | | | | | end of the build. llvm-svn: 53466
* Mark the "Bug Type" column as being initially sorted (display the sort ding) ↵Ted Kremenek2008-07-071-1/+1
| | | | | | so that users can readily see that the table can be sorted. llvm-svn: 53176
* Output html should have 'class=' before "sorttable_nosort".Ted Kremenek2008-07-071-2/+2
| | | | llvm-svn: 53175
* ccc-analyzer now dispatches the options "-checker-cfref" and ↵Ted Kremenek2008-07-021-2/+4
| | | | | | "-warn-dead-stores" to clang instead of just "-checker-cfref". llvm-svn: 53053
* When inspecting the build command, strip off the preceding path to the build ↵Ted Kremenek2008-06-301-0/+5
| | | | | | command. llvm-svn: 52913
* Only use colored output when the environment variable SCAN_BUILD_COLOR is set.Ted Kremenek2008-06-171-1/+2
| | | | llvm-svn: 52379
* Remove debugging message in ccc-analyzer.Ted Kremenek2008-06-161-19/+54
| | | | | | Add color diagnostics from scan-build, and indicate the number of bugs found (if any). llvm-svn: 52372
* Use the correct 'ccc-analyzer' when the build command is a direct invocation ↵Ted Kremenek2008-06-021-2/+3
| | | | | | of gcc. llvm-svn: 51883
OpenPOWER on IntegriCloud