Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [scan-build] Log compiler invocation to stderr, not stdout. | Jordan Rose | 2013-07-03 | 1 | -4/+4 | |
| | | | | | | | | | | This is important for preprocessing steps, which may output to stdout. Also, change ENV accesses using barewords to use string keys instead. PR16414 llvm-svn: 185555 | |||||
* | [analyzer] Add --override-compiler option to scan-build. | Anna Zaks | 2013-05-31 | 1 | -0/+19 | |
| | | | | | | | The new advanced option ensures ccc-analyze is used even when better interposition methods are available. llvm-svn: 182981 | |||||
* | scan-build: use the xcodebuild specified by the user. | Jordan Rose | 2013-05-22 | 1 | -9/+4 | |
| | | | | | | | | | | This is important if the user has multiple Xcodes installed on their system -- we use xcodebuild to do a version check, and therefore we need to make sure we match the actual build command. Reported by Howard Ling! llvm-svn: 182498 | |||||
* | [analyzer] Finally make c++-analyzer 'executable' again. | Anton Yartsev | 2013-05-02 | 1 | -0/+0 | |
| | | | | llvm-svn: 180905 | |||||
* | [analyzer] Recreated as a file. | Anton Yartsev | 2013-05-02 | 1 | -0/+8 | |
| | | | | llvm-svn: 180903 | |||||
* | [analyzer] Temporary remove c++analyzer to recreate it as a separate file, ↵ | Anton Yartsev | 2013-05-02 | 1 | -8/+0 | |
| | | | | | | not a symlink. llvm-svn: 180902 | |||||
* | [analyzer] Added 'executable' property to c++analyzer. | Anton Yartsev | 2013-05-02 | 1 | -0/+0 | |
| | | | | llvm-svn: 180901 | |||||
* | [analyzer] scan-build for Windows | Anton Yartsev | 2013-05-02 | 3 | -3/+19 | |
| | | | | | | The patch allows Windows users to launch scan-build without any additional preparations in the same way as it described in http://clang-analyzer.llvm.org/scan-build.html. The only thing that should be done to make scan-build work from an arbitrary location is to add scan-build folder to the PATH environment variable. llvm-svn: 180900 | |||||
* | [analyzer] scan-build: support -enable-checker with new Xcode integration. | Jordan Rose | 2013-04-30 | 1 | -1/+3 | |
| | | | | | | <rdar://problem/13772094> llvm-svn: 180812 | |||||
* | [scan-build] Whitelist all -mXXXX options. | Ted Kremenek | 2013-04-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 180073 | |||||
* | [analyzer] scan-build: emit errors on stderr, and exit(1) instead of exit(0). | Jordan Rose | 2013-03-21 | 1 | -19/+27 | |
| | | | | | | PR14963 llvm-svn: 177678 | |||||
* | [analyzer] Fix scan-build's -stats mode. | Jordan Rose | 2013-03-14 | 1 | -8/+9 | |
| | | | | | | | | | We were failing to match the output line, which led to us collecting no stats at all, which led to a divide-by-zero error. Fixes PR15510. llvm-svn: 177084 | |||||
* | scan-build: explicitly say "No bugs found" if there are no reports. | Jordan Rose | 2013-03-05 | 1 | -0/+1 | |
| | | | | | | Patch by Martin Storsjo! llvm-svn: 176472 | |||||
* | scan-build: Remove debug print. | Benjamin Kramer | 2013-02-22 | 1 | -1/+0 | |
| | | | | | | PR15329. llvm-svn: 175889 | |||||
* | [scan-build] Add quotes around clang executable name to handle path withs ↵ | Ted Kremenek | 2013-02-21 | 1 | -1/+2 | |
| | | | | | | spaces. Fixes <rdar://problem/13254727> llvm-svn: 175790 | |||||
* | [scan-build] fix xcode version parsing to handle dot releases. Fixes ↵ | Ted Kremenek | 2013-02-21 | 1 | -3/+6 | |
| | | | | | | <rdar://problem/13265300>. llvm-svn: 175781 | |||||
* | Teach ccc-analyze to pass on -iquote with no spaces between it an the argument. | Ted Kremenek | 2013-02-14 | 1 | -0/+5 | |
| | | | | llvm-svn: 175115 | |||||
* | Add some horrible Perl code to teach scan-build to recursively walk a ↵ | Ted Kremenek | 2013-02-02 | 1 | -9/+22 | |
| | | | | | | directory for HTML files. llvm-svn: 174260 | |||||
* | scan-build: When using Xcode 4.6, use build settings for doing proper build ↵ | Ted Kremenek | 2013-01-30 | 1 | -0/+30 | |
| | | | | | | interposition. llvm-svn: 173954 | |||||
* | scan-build: Add a --keep-empty option for better testing. | Jordan Rose | 2013-01-24 | 1 | -4/+17 | |
| | | | | | | | | SATestBuild expects to compare output directories for each invocation of scan-build that it runs, but scan-build clears out empty directories by default. We were coincidentally not getting that behavior until r173294. llvm-svn: 173383 | |||||
* | Always process an index.html file if we have HTML output. Patch by Justin ↵ | Ted Kremenek | 2013-01-23 | 1 | -1/+1 | |
| | | | | | | Bogner. llvm-svn: 173294 | |||||
* | Set process return code of 1 in set-xcode-analyzer when Xcode needs to be ↵ | Ted Kremenek | 2013-01-11 | 1 | -1/+1 | |
| | | | | | | quit. Fixes <rdar://problem/12983031>. llvm-svn: 172256 | |||||
* | ccc-analyzer: Forward -msse* options to the compiler. | Ted Kremenek | 2013-01-10 | 1 | -0/+4 | |
| | | | | llvm-svn: 172094 | |||||
* | Fix set-xcode-analyzer to only modify the ExecPath for the analyzer when ↵ | Ted Kremenek | 2013-01-05 | 1 | -0/+2 | |
| | | | | | | | | | | using --use-xcode-clang. Turns out that the ExecPath for the ObjC migrator would also get set. Fixes <rdar://problem/12961769>. llvm-svn: 171607 | |||||
* | Require set-xcode-analyzer to run with Python 2.7 or later. | Ted Kremenek | 2013-01-04 | 1 | -1/+5 | |
| | | | | | | Addresses LLVM PR 11661. llvm-svn: 171503 | |||||
* | [analyzer] scan-build: Don't forget to close our temp file for Clang's output. | Jordan Rose | 2012-11-28 | 1 | -7/+8 | |
| | | | | | | | | Also, minor whitespace/indentation fixes. Patch by Peeter Joot! llvm-svn: 168805 | |||||
* | [analyzer] scan-build: Treat '.C' files as C++. | Jordan Rose | 2012-11-28 | 1 | -0/+1 | |
| | | | | | | Part of PR14443. llvm-svn: 168804 | |||||
* | scan-build: Respect TMPDIR on all platforms, not just Darwin (PR14438). | Jordan Rose | 2012-11-27 | 1 | -7/+2 | |
| | | | | llvm-svn: 168672 | |||||
* | [analyzer] Check that the argument to CFMakeCollectable is non-NULL. | Jordan Rose | 2012-11-07 | 1 | -2/+3 | |
| | | | | | | Patch by Sean McBride! llvm-svn: 167537 | |||||
* | Fix some mdoc nits | Sean Silva | 2012-10-23 | 1 | -4/+4 | |
| | | | | | | Patch by Eitan Adler! llvm-svn: 166482 | |||||
* | Teach set-xcode-analyzer that the new default value for ExecPath is ↵ | Ted Kremenek | 2012-10-11 | 1 | -2/+13 | |
| | | | | | | CLANG_ANALYZER_EXEC. llvm-svn: 165681 | |||||
* | Have set-xcode-analyer report an error if no xcspec file could be found. | Ted Kremenek | 2012-09-26 | 1 | -0/+5 | |
| | | | | llvm-svn: 164713 | |||||
* | Make set-xcode-analyzer more tolerant of the naming differenes reported by ↵ | Ted Kremenek | 2012-09-26 | 1 | -1/+1 | |
| | | | | | | xcode-select. llvm-svn: 164712 | |||||
* | ccc-analyzer: pass -stdlib=libc++ through to the analyzer. | Benjamin Kramer | 2012-09-19 | 1 | -0/+1 | |
| | | | | | | Otherwise clang can't analyze code that relies on features provided by libc++. llvm-svn: 164262 | |||||
* | Revert "Utilize new build system support in Xcode 4.5 for easier interposition" | Ted Kremenek | 2012-09-15 | 1 | -30/+0 | |
| | | | | | | | It's not clear if this is working yet on the buildbot. Reverting until we have time to investigate. llvm-svn: 163963 | |||||
* | Utilize new build system support in Xcode 4.5 for easier interposition | Ted Kremenek | 2012-09-14 | 1 | -0/+30 | |
| | | | | | | of a build without needing to use ccc-analyzer. llvm-svn: 163927 | |||||
* | scan-build: Determine the location of the clang binary before printing help. | Jordan Rose | 2012-09-14 | 1 | -60/+63 | |
| | | | | | | We need the clang executable to print the list of available checkers. llvm-svn: 163925 | |||||
* | Use double instead of single quote to expand . | Ted Kremenek | 2012-08-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 162830 | |||||
* | Fix passing of -analyzer-max-loop from scan-build to clang. | Ted Kremenek | 2012-08-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 162765 | |||||
* | Change --with-analyzer to --use-analyzer, per sage feedback from Jordan. | Ted Kremenek | 2012-08-25 | 1 | -5/+5 | |
| | | | | llvm-svn: 162640 | |||||
* | Fix a few issues related to -with-analyzer reported by Jordan. Let's | Ted Kremenek | 2012-08-24 | 1 | -5/+5 | |
| | | | | | | have the option with two '--' to be consistent with other options. llvm-svn: 162625 | |||||
* | Rework how scan-build picks the version of clang to use for static analysis. | Ted Kremenek | 2012-08-24 | 1 | -40/+61 | |
| | | | | | | | | | | | Unless the user specifies, the clang used for static analysis is the one found relative to scan-build. If the user specifies -with-analyzer, they can pick either to use the clang bundled with Xcode (via xcrun) or they can specify a path to clang. llvm-svn: 162620 | |||||
* | Reformat help text for scan-build, and remove -constraints | Ted Kremenek | 2012-08-24 | 1 | -58/+84 | |
| | | | | | | | and -store from help text because they are no longer relevant to users. llvm-svn: 162619 | |||||
* | Revert "Go ahead and show experimental checkers in the scan-build "-h" output." | Ted Kremenek | 2012-08-24 | 1 | -0/+9 | |
| | | | | llvm-svn: 162587 | |||||
* | Go ahead and show experimental checkers in the scan-build "-h" output. | Ted Kremenek | 2012-08-24 | 1 | -9/+0 | |
| | | | | | | | | | They are labeled as not being enabled-by-default, and how else are users going to test them. Fixes <rdar://problem/11654923> llvm-svn: 162543 | |||||
* | On OS X, use xcrun (if present) to find the clang to use for static analysis if | Ted Kremenek | 2012-08-24 | 1 | -6/+20 | |
| | | | | | | | | no clang can be found relative to the location of scan-build. Fixes <rdar://problem/11691794> llvm-svn: 162535 | |||||
* | [scan-build] Accept -fno-objc-arc as well as -fobjc-arc. | Jordan Rose | 2012-08-23 | 1 | -0/+1 | |
| | | | | | | | | | This is how Xcode lets individual files be marked as non-ARC when the rest of the project is ARC-enabled, so this is necessary for scan-build xcodebuild. Patch by Paul Eipper! llvm-svn: 162497 | |||||
* | Teach ccc-analyze about -fobjc-legacy-dispatch and -mios-simulator-version-min | Ted Kremenek | 2012-08-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 161443 | |||||
* | scan-build: factor out setting of environment variables. | Ted Kremenek | 2012-08-06 | 1 | -34/+59 | |
| | | | | llvm-svn: 161343 | |||||
* | Pull 'xcodebuild' wrapper logic into a separate function. | Ted Kremenek | 2012-08-06 | 1 | -26/+38 | |
| | | | | llvm-svn: 161330 |