summaryrefslogtreecommitdiffstats
path: root/clang/utils/scan-build
Commit message (Collapse)AuthorAgeFilesLines
* Tuck away scan-build related files into tools/scan-buildKovarththanan Rajaratnam2009-12-011-1297/+0
| | | | llvm-svn: 90215
* Remove '-checker-simple' reference from scan-build. Patch by Kovarththanan ↵Ted Kremenek2009-11-231-1/+1
| | | | | | Rajaratnam! llvm-svn: 89673
* Use 'eq' operator, and enable regular experimental checks when ↵Ted Kremenek2009-11-131-1/+1
| | | | | | --experimental-checks is passed to scan-build. llvm-svn: 88673
* Add clang-cc option "--analyzer-experimental-internal-checks". ThisTed Kremenek2009-11-131-0/+8
| | | | | | | option enables new "internal" checks that will eventually be turned on by default but still require broader testing. llvm-svn: 88671
* Turn on 'RegionStore' as the default store manager both for 'clang ↵Ted Kremenek2009-09-251-4/+6
| | | | | | --analyze' and 'scan-build'. Leave 'BasicStore' as the default store manager in 'clang-cc'. While there are still known warts with RegionStore, it's ready to be tested by general users. llvm-svn: 82752
* Renable "html" indexing by default.Ted Kremenek2009-08-041-1/+1
| | | | llvm-svn: 78077
* Have scan-build clue off of 'BUGMETAEND' to know when to stop processing an ↵Ted Kremenek2009-08-031-8/+1
| | | | | | HTML file. llvm-svn: 78022
* Add scan-build option '-no-failure-reports' to supress the creation of a ↵Ted Kremenek2009-07-301-0/+8
| | | | | | 'failures' subdirectory that includes crash reports, preprocessed files, etc. llvm-svn: 77644
* scan-build: Don't try to index plist-html output directoriesDaniel Dunbar2009-07-291-5/+5
| | | | llvm-svn: 77465
* Add scan-build support for 'plist-html', a hybrid mode that supports theTed Kremenek2009-07-271-18/+25
| | | | | | | | creation of both HTML and plist files. Plist files are currently not generated using the same layout algorithm as just specifying '-plist', so this is mainly intended to help support automated runs of the analyzer. llvm-svn: 77263
* Enable the '-warn-security-syntactic' checker option by default.Ted Kremenek2009-07-241-0/+1
| | | | llvm-svn: 76933
* Remove bogus check.Ted Kremenek2009-07-171-4/+0
| | | | llvm-svn: 76259
* Add error message when clang-cc cannot be found.Ted Kremenek2009-07-171-0/+4
| | | | llvm-svn: 76256
* Add hack to scan-build to fix PR 4215Ted Kremenek2009-05-151-0/+12
| | | | | | | (http://llvm.org/bugs/show_bug.cgi?id=4215): When xcodebuild is invoked with -sdk iphonesimulator3.0, use gcc-4.2 instead of the system default gcc. llvm-svn: 71891
* Make scan-build process of --use-cc and --html-title more robust.Ted Kremenek2009-05-121-3/+3
| | | | llvm-svn: 71567
* Add total hack to get scan-build working again. ccc-analyzer callsTed Kremenek2009-05-091-8/+29
| | | | | | | 'clang -###' to get the appropriate arguments to pass to clang-cc. This isn't a permanent solution. llvm-svn: 71364
* scan-build: Also look for clang-cc in ../libexecTed Kremenek2009-03-291-6/+9
| | | | llvm-svn: 67972
* More path updates with clang-cc...Ted Kremenek2009-03-241-4/+4
| | | | llvm-svn: 67609
* Update scan-build/ccc-analyzer to use 'clang-cc' instead of 'clang'.Ted Kremenek2009-03-241-5/+5
| | | | llvm-svn: 67608
* '-o' option now supports relative paths.Ted Kremenek2009-03-111-1/+4
| | | | llvm-svn: 66680
* scan-build: Also look for clang in the same directory as scan-build.Ted Kremenek2009-03-091-0/+6
| | | | llvm-svn: 66491
* Correctly check for ccc-analyzer in the same directory as scan-build.Ted Kremenek2009-02-271-1/+1
| | | | llvm-svn: 65618
* scan-build now looks for ccc-analyzer first in the 'bin' subdirectory and ↵Ted Kremenek2009-02-251-4/+5
| | | | | | then the directory where scan-build lives. llvm-svn: 65483
* Do not automatically run the 'missing -dealloc' check until we have adequate ↵Ted Kremenek2009-02-251-1/+2
| | | | | | time to make it much smarter (too much noise). llvm-svn: 65474
* scan-build: Prune off any trailing '/' characters in the output directory path.Ted Kremenek2009-02-241-0/+3
| | | | llvm-svn: 65368
* Find 'clang' in 'bin' subdirectory instead of 'cbin'.Ted Kremenek2009-02-231-3/+3
| | | | llvm-svn: 65343
* Update scan-build help diagnostic.Ted Kremenek2009-02-211-1/+1
| | | | llvm-svn: 65223
* Make 'RangeConstraintManager' the default ConstraintManager.Ted Kremenek2009-02-201-3/+4
| | | | llvm-svn: 65173
* Fix potential use of uninitialized variable.Ted Kremenek2009-02-201-1/+1
| | | | llvm-svn: 65109
* scan-build now searches for the clang binary in the subdirectory 'cbin'.Ted Kremenek2009-02-191-2/+2
| | | | llvm-svn: 65014
* ccc-analyzer:Ted Kremenek2009-02-171-45/+63
| | | | | | | | | | - now logs which source files had "ignored attributes". - disable-free is enabled scan-build: - now displays a table of ignored attributes under "Analyzer Failures". llvm-svn: 64853
* Static Analyzer driver/options (partial) cleanup:Ted Kremenek2009-02-171-6/+22
| | | | | | | | | | | | | | - Move all analyzer options logic to AnalysisConsumer.cpp. - Unified specification of stores/constraints/output to be: -analyzer-output=... -analyzer-store=... -analyzer-constraints=... instead of -analyzer-range-constraints, -analyzer-store-basic, etc. - Updated drivers (ccc-analyzer, scan-builds, new ccc) to obey this new interface - Updated test cases to conform to new driver options llvm-svn: 64737
* PathDiagnostics:Ted Kremenek2009-01-271-4/+4
| | | | | | | | | | | | | - Add the distinction between the 'bug type' and the 'bug description' HTMLDiagnostics: - Output the bug type field as HTML comments scan-build: - Use the bug type field instead of the bug description for the HTML table. - Radar filing now automatically picks up the bug description in the title (addresses <rdar://problem/6265970>) llvm-svn: 63084
* Properly "include" abs_path.Ted Kremenek2008-12-031-1/+1
| | | | llvm-svn: 60502
* Use abs_path to resolve symbolic links and '..' in report table.Ted Kremenek2008-12-031-1/+1
| | | | llvm-svn: 60493
* Don't have special treatment from pruning the common suffices of files in ↵Ted Kremenek2008-12-031-4/+0
| | | | | | /Developer, /usr, etc. llvm-svn: 60491
* scan-build now recognizes when the user is directly invoking gcc for:Ted Kremenek2008-11-191-2/+9
| | | | | | | (a) different versions of gcc (e.g., a suffix '-4.2') (b) different paths for gcc llvm-svn: 59578
* Fix use of uninitialized variable.Ted Kremenek2008-11-041-1/+1
| | | | llvm-svn: 58663
* Allow user toggling between plist and html output with scan-build/ccc-analyzer.Ted Kremenek2008-11-041-12/+33
| | | | llvm-svn: 58657
* Simplify the functions HtmlEsape and ShellEscape. We now properly print out ↵Ted Kremenek2008-11-031-8/+5
| | | | | | | | the following command line in the HTML output: scan-build gcc -x c /dev/null -c -Dfoo='"string abc"' Fixes <rdar://problem/6338651> llvm-svn: 58600
* Add defined in if().Zhongxing Xu2008-11-021-1/+1
| | | | llvm-svn: 58562
* On Mac OS X, use TMPDIR as the default location to place analysis results. ↵Ted Kremenek2008-10-311-2/+9
| | | | | | This is a more secure location for such files, and addresses <rdar://problem/6334220>. llvm-svn: 58491
* Minor UI enhancement:Ted Kremenek2008-10-281-1/+18
| | | | | | | | (1) when all of the bug category boxes are checked, automatically check "All Bugs" (2) when any of the bug category boxes are unchecked, automatically uncheck "All Bugs" llvm-svn: 58346
* Patch by Nikita Zhuk:Ted Kremenek2008-10-281-1/+16
| | | | | | The attached patch adds a checkbox to the scan-build summary report, which toggles all other checkboxes' states. llvm-svn: 58344
* Add store option to scan-build and ccc-analyzer.Zhongxing Xu2008-10-271-0/+16
| | | | llvm-svn: 58248
* Fix scan-build's processing of clang's analysis arguments. Patch by Nikita ↵Ted Kremenek2008-10-241-1/+1
| | | | | | Zhuk! llvm-svn: 58093
* Use 'realpath' to resolve the absolute path to clang and ccc-analyzer.Ted Kremenek2008-10-131-9/+25
| | | | | | Add "-analyze-headers" option to scan-build that passes the option -analyzer-opt-analyze-headers to clang. llvm-svn: 57467
* Add missing newline.Ted Kremenek2008-10-101-2/+2
| | | | llvm-svn: 57333
* Add "Path Length" back to the table of bug reports.Ted Kremenek2008-09-281-3/+5
| | | | llvm-svn: 56765
* Add link to report analyzer failures (parse errors, asserts, etc).Daniel Dunbar2008-09-251-1/+1
| | | | llvm-svn: 56606
OpenPOWER on IntegriCloud