summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-build
Commit message (Collapse)AuthorAgeFilesLines
...
* [scan-build] Fix clang++ pathnameArnaud A. de Grandmaison2012-07-271-1/+3
| | | | llvm-svn: 160871
* Add hack (provided by Jonathan Sauer) to fall back to assuming Xcode is ↵Ted Kremenek2012-07-161-1/+5
| | | | | | | | | | installed in /Developer when using Python < 2.7.0. This is the case on Snow Leopard, where the tools are always installed in /Developer. This isn't a proper fix for really figuring out where Xcode is installed, but should work to fix an obvious problem on Snow Leopard. llvm-svn: 160321
* [analyzer]scan-build: report the total number of steps analyzer performsAnna Zaks2012-06-222-1/+19
| | | | | | This would be useful to investigate performance issues. llvm-svn: 159038
* Adjust scan-build to enable color output for xterm-256color.Ted Kremenek2012-06-191-1/+1
| | | | llvm-svn: 158735
* Sink definition of IBOutlet, IBOutletCollection, and IBAction intoTed Kremenek2012-06-191-5/+0
| | | | | | | the compiler predefines buffer. These are essentially part of the Objective-C language. llvm-svn: 158690
* [analyzer] Loading external plugins with scan-buildAnna Zaks2012-05-252-4/+35
| | | | | | | | | | | | | Load custom plugins when running scan-build. This is useful when additional static analysis Checkers must be provided via clang's plugin interface. Loading additional plugins can now be done via the scan-build call: scan-build -load-plugin <plugin.so> A patch by Thomas Hauth. llvm-svn: 157452
* New & improved man page attached, now with standard license added.Ted Kremenek2012-05-242-173/+204
| | | | | | | | | | | | | | | | | | | Plus, a patch for scan-build. * mdoc corrections * slightly more compact output * same license as scan-build * DESCRIPTION describes * Default checkers corrected & explained * Authors credited The patch adds support for --help-checkers. It just lists the default checkers by recursively invoking "scan-build -h" and looking for the magic '+' signs. Patch by James Lowden! llvm-svn: 157411
* Add the output of "clang --version" to scan-build results, from Gerald Combs!Douglas Gregor2012-05-151-0/+2
| | | | llvm-svn: 156834
* Provide a man page for scan-build. Patch by James Lowden!Ted Kremenek2012-05-101-0/+332
| | | | llvm-svn: 156559
* [analyzer] Add .cxx and .txx as known file extensions to ccc-analyzer.Anna Zaks2012-04-141-0/+2
| | | | | | A patch by Sean McBride. llvm-svn: 154751
* Add static analyzer support for new NSArray/NSDictionary/NSNumber literals.Ted Kremenek2012-03-061-1/+2
| | | | llvm-svn: 152139
* Update set-xcode-analyzer to work with Xcode repackaging in Xcode 4.3Ted Kremenek2012-02-221-1/+9
| | | | llvm-svn: 151179
* Teach ccc-analyzer about -fobjc-abi-version.Ted Kremenek2012-01-261-1/+2
| | | | llvm-svn: 149094
* [analyzer] Add the HTML file to the SATest diagnostic diff.Anna Zaks2012-01-241-1/+5
| | | | | | (Uses the functionality which has been in CmpRuns long before.) llvm-svn: 148868
* [analyzer] Correct the c++-analyzer symlinkAnna Zaks2012-01-061-1/+1
| | | | | | As Matt pointed out, this should be just a link to 'ccc-analyzer'. llvm-svn: 147661
* [analyzer] c++-analyzer should be a symlink.Anna Zaks2012-01-061-682/+1
| | | | | | This fixes a regression from r147643. llvm-svn: 147648
* [analyzer] Update the docs to reflect that gcc is not the only defaultAnna Zaks2012-01-061-2/+2
| | | | | | compiler option. llvm-svn: 147645
* [analyzer] scan-build: If we are on MacOS, use clang as the defaultAnna Zaks2012-01-062-4/+24
| | | | | | compiler. llvm-svn: 147644
* [analyzer] Skip --serialize-diagnostic when running scan-build.Anna Zaks2012-01-062-2/+674
| | | | | | | Otherwise, the analyzer will try to analyze the serialized diagnostic file as if it were a source file. llvm-svn: 147643
* Force set-xcode-analyzer to use the system version of Python installed on OS X.Ted Kremenek2012-01-031-1/+5
| | | | llvm-svn: 147483
* Teach ccc-analyzer about -fobjc-arc.Ted Kremenek2011-11-161-0/+1
| | | | llvm-svn: 144778
* [analyzer] Make sure scan-build catches all clang failures.Anna Zaks2011-11-071-1/+7
| | | | | | | | scan-build ignores clang failures in some cases, which might lead to silent failure suppression. For example, if clang command line argument is wrong. (Addresses radar://10406598) llvm-svn: 144029
* [analyzer] When running scan-build with -plist on ./configure, delete the ↵Anna Zaks2011-09-091-2/+8
| | | | | | | | plist files. (scan-build does not set the $HtmlDir when running against configure. Previously, this implied that the plist files would appear in the current directory, with this patch they will get deleted.) llvm-svn: 139382
* [analyzer] Revert a regression introduced in r133104(The ARC Migration ↵Anna Zaks2011-08-311-4/+6
| | | | | | Tool..) due to a merge error. llvm-svn: 138919
* [analyzer] update bug report urlNico Weber2011-08-281-2/+2
| | | | llvm-svn: 138721
* scan-build: enable C++ support by default.Ted Kremenek2011-08-111-6/+3
| | | | llvm-svn: 137382
* The ARC Migration Tool. All the credit goes to Argyrios and FariborzJohn McCall2011-06-151-9/+10
| | | | | | for this. llvm-svn: 133104
* Update regex in scan-build for parsing statistics.Ted Kremenek2011-04-271-1/+1
| | | | llvm-svn: 130347
* Update scan-build to '-analyzer-checker debug.Stats' instead of the old ↵Ted Kremenek2011-04-271-1/+1
| | | | | | '-analyzer-stats' -cc1 argument. llvm-svn: 130320
* Add Objective-C++ files to those accepted by ccc-analyzer.Ted Kremenek2011-04-131-1/+2
| | | | llvm-svn: 129475
* Provide options to explicitly enable/disable checkers in scan-build.Ted Kremenek2011-04-122-4/+22
| | | | llvm-svn: 129393
* Enable C++ static analysis support in ccc-analyzer.Ted Kremenek2011-04-121-6/+4
| | | | llvm-svn: 129392
* Filter our experimental checks in scan-build's checker listing.Ted Kremenek2011-04-051-1/+1
| | | | llvm-svn: 128865
* Don't store reports when scan-build's build command matches /autogen/ (same ↵Ted Kremenek2011-04-011-2/+2
| | | | | | as configure). llvm-svn: 128723
* scan-build: only display analyzer intra-file progress when in "Verbose" mode.Ted Kremenek2011-03-211-1/+3
| | | | llvm-svn: 128015
* Compress argument processing in ccc-analyzer. No functionality change.Ted Kremenek2011-03-161-15/+8
| | | | llvm-svn: 127758
* Tweak ccc-analyzer's 'Analyze' function to not mutate the original arguments ↵Ted Kremenek2011-03-101-21/+21
| | | | | | list. llvm-svn: 127428
* Enhance scan-build to print out available analyses using new checker ↵Ted Kremenek2011-02-251-16/+101
| | | | | | | | | | registration model. This isn't totally complete. Right now scan-build uses some heuristics to determine which checkers are enabled by default, but it cannot always tell which checkers are not enabled. llvm-svn: 126521
* Begin overhaul of scan-build/ccc-analyzer's handling of checker options.Ted Kremenek2011-02-172-119/+61
| | | | | | | | We now rely on 'clang --analyze' to provide the default set of checkers. We're still working on the new '-analyzer-checker <checker>' interface, and once that's ready we'll wire it up to scan-build. llvm-svn: 125712
* No longer pass deprecated '-nodistribute' flag to xcodebuild.Ted Kremenek2011-02-081-3/+0
| | | | llvm-svn: 125131
* Enable the self-init checker in scan-build.Ted Kremenek2011-02-011-0/+1
| | | | llvm-svn: 124696
* Tweak scan-build to work with naked clang commands.Ted Kremenek2010-10-161-0/+2
| | | | llvm-svn: 116651
* Updated scan-build:Tom Care2010-09-301-12/+134
| | | | | | | | - Idempotent operations are on by default, to match --analyze in the driver. - Integrated stats calculation based on parsing warnings emitted with the -analyzer-stats flag. The new -stats flag enables this. - New -maxloop flag to pass down a maxloop value to the analyzer. llvm-svn: 115123
* Modified the ccc-analyzer script to print the compiler command when log ↵Tom Care2010-09-291-0/+3
| | | | | | level verbosity is enabled. This is handy for debugging. llvm-svn: 115109
* Forward -fno-builtin to clang, add .cp as a supportedShantonu Sen2010-07-031-0/+2
| | | | | | | | | extension if you otherwise configure scan-build to do c++ static analysis. OKed by Ted llvm-svn: 107562
* Add ccc-analyzer support for '-imacros'. Fixes PR 7204.Ted Kremenek2010-06-081-0/+1
| | | | llvm-svn: 105624
* Fix ccc-analyzer's handling of quoted arguments in the build command. Fixes ↵Ted Kremenek2010-04-061-6/+1
| | | | | | PR 6791.[B llvm-svn: 100551
* scan-build: set environment variable LDPLUSPLUS to 'c++-analyzer' to ↵Ted Kremenek2010-03-271-5/+6
| | | | | | | | correctly link projects with c++ code. llvm-svn: 99684
* Don't enable static analysis support for C++ by default. Users areTed Kremenek2010-03-081-3/+10
| | | | | | | | accidentally using it without realizing that it is nowhere close to being generally usable and are reporting crashes that we already know about. llvm-svn: 97960
* Pass -m32 and -m64 to the static analyzer when using scan-build. Now we canCharles Davis2010-03-021-0/+2
| | | | | | | | use scan-build with Wine, for example. Ted, I hope this is OK. llvm-svn: 97566
OpenPOWER on IntegriCloud