Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [scan-build] Fix clang++ pathname | Arnaud A. de Grandmaison | 2012-07-27 | 1 | -1/+3 | |
| | | | | llvm-svn: 160871 | |||||
* | Add hack (provided by Jonathan Sauer) to fall back to assuming Xcode is ↵ | Ted Kremenek | 2012-07-16 | 1 | -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 performs | Anna Zaks | 2012-06-22 | 2 | -1/+19 | |
| | | | | | | This would be useful to investigate performance issues. llvm-svn: 159038 | |||||
* | Adjust scan-build to enable color output for xterm-256color. | Ted Kremenek | 2012-06-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 158735 | |||||
* | Sink definition of IBOutlet, IBOutletCollection, and IBAction into | Ted Kremenek | 2012-06-19 | 1 | -5/+0 | |
| | | | | | | | the compiler predefines buffer. These are essentially part of the Objective-C language. llvm-svn: 158690 | |||||
* | [analyzer] Loading external plugins with scan-build | Anna Zaks | 2012-05-25 | 2 | -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 Kremenek | 2012-05-24 | 2 | -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 Gregor | 2012-05-15 | 1 | -0/+2 | |
| | | | | llvm-svn: 156834 | |||||
* | Provide a man page for scan-build. Patch by James Lowden! | Ted Kremenek | 2012-05-10 | 1 | -0/+332 | |
| | | | | llvm-svn: 156559 | |||||
* | [analyzer] Add .cxx and .txx as known file extensions to ccc-analyzer. | Anna Zaks | 2012-04-14 | 1 | -0/+2 | |
| | | | | | | A patch by Sean McBride. llvm-svn: 154751 | |||||
* | Add static analyzer support for new NSArray/NSDictionary/NSNumber literals. | Ted Kremenek | 2012-03-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 152139 | |||||
* | Update set-xcode-analyzer to work with Xcode repackaging in Xcode 4.3 | Ted Kremenek | 2012-02-22 | 1 | -1/+9 | |
| | | | | llvm-svn: 151179 | |||||
* | Teach ccc-analyzer about -fobjc-abi-version. | Ted Kremenek | 2012-01-26 | 1 | -1/+2 | |
| | | | | llvm-svn: 149094 | |||||
* | [analyzer] Add the HTML file to the SATest diagnostic diff. | Anna Zaks | 2012-01-24 | 1 | -1/+5 | |
| | | | | | | (Uses the functionality which has been in CmpRuns long before.) llvm-svn: 148868 | |||||
* | [analyzer] Correct the c++-analyzer symlink | Anna Zaks | 2012-01-06 | 1 | -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 Zaks | 2012-01-06 | 1 | -682/+1 | |
| | | | | | | This fixes a regression from r147643. llvm-svn: 147648 | |||||
* | [analyzer] Update the docs to reflect that gcc is not the only default | Anna Zaks | 2012-01-06 | 1 | -2/+2 | |
| | | | | | | compiler option. llvm-svn: 147645 | |||||
* | [analyzer] scan-build: If we are on MacOS, use clang as the default | Anna Zaks | 2012-01-06 | 2 | -4/+24 | |
| | | | | | | compiler. llvm-svn: 147644 | |||||
* | [analyzer] Skip --serialize-diagnostic when running scan-build. | Anna Zaks | 2012-01-06 | 2 | -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 Kremenek | 2012-01-03 | 1 | -1/+5 | |
| | | | | llvm-svn: 147483 | |||||
* | Teach ccc-analyzer about -fobjc-arc. | Ted Kremenek | 2011-11-16 | 1 | -0/+1 | |
| | | | | llvm-svn: 144778 | |||||
* | [analyzer] Make sure scan-build catches all clang failures. | Anna Zaks | 2011-11-07 | 1 | -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 Zaks | 2011-09-09 | 1 | -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 Zaks | 2011-08-31 | 1 | -4/+6 | |
| | | | | | | Tool..) due to a merge error. llvm-svn: 138919 | |||||
* | [analyzer] update bug report url | Nico Weber | 2011-08-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 138721 | |||||
* | scan-build: enable C++ support by default. | Ted Kremenek | 2011-08-11 | 1 | -6/+3 | |
| | | | | llvm-svn: 137382 | |||||
* | The ARC Migration Tool. All the credit goes to Argyrios and Fariborz | John McCall | 2011-06-15 | 1 | -9/+10 | |
| | | | | | | for this. llvm-svn: 133104 | |||||
* | Update regex in scan-build for parsing statistics. | Ted Kremenek | 2011-04-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 130347 | |||||
* | Update scan-build to '-analyzer-checker debug.Stats' instead of the old ↵ | Ted Kremenek | 2011-04-27 | 1 | -1/+1 | |
| | | | | | | '-analyzer-stats' -cc1 argument. llvm-svn: 130320 | |||||
* | Add Objective-C++ files to those accepted by ccc-analyzer. | Ted Kremenek | 2011-04-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 129475 | |||||
* | Provide options to explicitly enable/disable checkers in scan-build. | Ted Kremenek | 2011-04-12 | 2 | -4/+22 | |
| | | | | llvm-svn: 129393 | |||||
* | Enable C++ static analysis support in ccc-analyzer. | Ted Kremenek | 2011-04-12 | 1 | -6/+4 | |
| | | | | llvm-svn: 129392 | |||||
* | Filter our experimental checks in scan-build's checker listing. | Ted Kremenek | 2011-04-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 128865 | |||||
* | Don't store reports when scan-build's build command matches /autogen/ (same ↵ | Ted Kremenek | 2011-04-01 | 1 | -2/+2 | |
| | | | | | | as configure). llvm-svn: 128723 | |||||
* | scan-build: only display analyzer intra-file progress when in "Verbose" mode. | Ted Kremenek | 2011-03-21 | 1 | -1/+3 | |
| | | | | llvm-svn: 128015 | |||||
* | Compress argument processing in ccc-analyzer. No functionality change. | Ted Kremenek | 2011-03-16 | 1 | -15/+8 | |
| | | | | llvm-svn: 127758 | |||||
* | Tweak ccc-analyzer's 'Analyze' function to not mutate the original arguments ↵ | Ted Kremenek | 2011-03-10 | 1 | -21/+21 | |
| | | | | | | list. llvm-svn: 127428 | |||||
* | Enhance scan-build to print out available analyses using new checker ↵ | Ted Kremenek | 2011-02-25 | 1 | -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 Kremenek | 2011-02-17 | 2 | -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 Kremenek | 2011-02-08 | 1 | -3/+0 | |
| | | | | llvm-svn: 125131 | |||||
* | Enable the self-init checker in scan-build. | Ted Kremenek | 2011-02-01 | 1 | -0/+1 | |
| | | | | llvm-svn: 124696 | |||||
* | Tweak scan-build to work with naked clang commands. | Ted Kremenek | 2010-10-16 | 1 | -0/+2 | |
| | | | | llvm-svn: 116651 | |||||
* | Updated scan-build: | Tom Care | 2010-09-30 | 1 | -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 Care | 2010-09-29 | 1 | -0/+3 | |
| | | | | | | level verbosity is enabled. This is handy for debugging. llvm-svn: 115109 | |||||
* | Forward -fno-builtin to clang, add .cp as a supported | Shantonu Sen | 2010-07-03 | 1 | -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 Kremenek | 2010-06-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 105624 | |||||
* | Fix ccc-analyzer's handling of quoted arguments in the build command. Fixes ↵ | Ted Kremenek | 2010-04-06 | 1 | -6/+1 | |
| | | | | | | PR 6791.[B llvm-svn: 100551 | |||||
* | scan-build: set environment variable LDPLUSPLUS to 'c++-analyzer' to ↵ | Ted Kremenek | 2010-03-27 | 1 | -5/+6 | |
| | | | | | | | | correctly link projects with c++ code. llvm-svn: 99684 | |||||
* | Don't enable static analysis support for C++ by default. Users are | Ted Kremenek | 2010-03-08 | 1 | -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 can | Charles Davis | 2010-03-02 | 1 | -0/+2 | |
| | | | | | | | | use scan-build with Wine, for example. Ted, I hope this is OK. llvm-svn: 97566 |