summaryrefslogtreecommitdiffstats
path: root/clang/tools/scan-build
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Two changes to scan-build:Ted Kremenek2010-02-121-6/+6
| | | | | | | | | | | (1) When no 'clang' is found with 'scan-build', remember the one from the path as scan-build sees it, not the build system. This prevents us from finding different clangs during the build. (2) Don't set LDPLUSPLUS when running xcodebuild; instead rely on the clang driver to do the right thing. llvm-svn: 95943
* Add comments.Ted Kremenek2010-02-121-1/+4
| | | | llvm-svn: 95942
* Tweak output.Ted Kremenek2010-02-091-8/+7
| | | | llvm-svn: 95676
* Add a check for a running Xcode before modifying its configuration files.Ted Kremenek2010-02-091-1/+8
| | | | llvm-svn: 95675
* Add some diagnostics for when we cannot update the original spec file.Ted Kremenek2010-02-081-3/+9
| | | | llvm-svn: 95572
* Add a Python script to change what version of Clang is used by Xcode for ↵Ted Kremenek2010-02-081-0/+65
| | | | | | static analysis (and ONLY static analysis). llvm-svn: 95569
* Fix how scan-build finds c++-analyzer to work with checker builds.Ted Kremenek2010-02-051-7/+7
| | | | llvm-svn: 95425
* Now that the -cc1 options for analyzer checks have a structured naming, add ↵Ted Kremenek2010-02-051-15/+4
| | | | | | back scanning for analyzer checks to scan-build. llvm-svn: 95349
* Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'.Ted Kremenek2010-02-052-2/+2
| | | | llvm-svn: 95348
* Rename -cc1 option '-warn-objc-missing-dealloc' to ↵Ted Kremenek2010-02-051-1/+1
| | | | | | '-analyzer-check-objc-missing-dealloc'. llvm-svn: 95347
* Rename -cc1 option '-warn-objc-methodsigs' to '-analyzer-check-objc-methodsigs'.Ted Kremenek2010-02-051-1/+1
| | | | llvm-svn: 95346
* Rename -cc1 option '-warn-objc-unused-ivars' to ↵Ted Kremenek2010-02-051-1/+1
| | | | | | '-analyzer-check-objc-unused-ivars'. llvm-svn: 95345
* Rename -cc1 option '-warn-dead-stores' to '-analyzer-check-dead-stores'.Ted Kremenek2010-02-051-1/+1
| | | | llvm-svn: 95343
* Rename -cc1 option '-warn-security-syntactic' to ↵Ted Kremenek2010-02-051-1/+1
| | | | | | '-analyzer-check-security-syntactic'. llvm-svn: 95342
* Add c++-analyzer symlink (which is used by scan-build)Ted Kremenek2009-12-221-0/+1
| | | | llvm-svn: 91937
* Compute the right extension for preprocessed Objective-C++ files.Ted Kremenek2009-12-161-1/+1
| | | | llvm-svn: 91547
* Add logic for computing preprocessor file extensions for C++ files.Ted Kremenek2009-12-161-0/+2
| | | | llvm-svn: 91505
* scan-build/ccc-analyzer: start analyzing C++ FTW.Ted Kremenek2009-12-152-30/+67
| | | | llvm-svn: 91398
* scan-build: when the build command is 'make', override the CC and CXX ↵Ted Kremenek2009-12-111-0/+2
| | | | | | options by passing them as arguments to make. This fixes <rdar://problem/6790224>. llvm-svn: 91179
* Remove more old references to clang-cc.Ted Kremenek2009-12-111-3/+3
| | | | llvm-svn: 91177
* Convert scan-build and ccc-analyzer over to using 'clang -cc1' instead of ↵Ted Kremenek2009-12-112-74/+29
| | | | | | using 'clang-cc'. llvm-svn: 91172
* Enable '-analyzer-opt-analyze-nested-blocks' by default for testing.Ted Kremenek2009-12-071-0/+1
| | | | llvm-svn: 90812
* Tuck away scan-build related files into tools/scan-buildKovarththanan Rajaratnam2009-12-014-0/+2484
llvm-svn: 90215
OpenPOWER on IntegriCloud