History log of /external/clang/tools/scan-build/ccc-analyzer
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 29-May-2014 Stephen Hines <srhines@google.com> Update Clang for 3.5 rebase (r209713).

Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/tools/scan-build/ccc-analyzer
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/tools/scan-build/ccc-analyzer
e233eea67cc5fa62d890d0eea910b56bbc5d2723 22-Oct-2013 Jordan Rose <jordan_rose@apple.com> [analyzer] scan-build: Handle -m* option wildcard after compiler/linker flags.

Some of the shared compiler/linker flags start with -m, so they've been
getting passed to the compiler only since r180073. Now, the -m* wildcard
is processed after the shared flags and the ignored flags.

Found by Laszlo Nagy!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193184 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
ce4aa85993963b98f58aa31f17119721e4fcceca 08-Aug-2013 Jordan Rose <jordan_rose@apple.com> scan-build: pass -target through to analyzer

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
de1860de533a02e43dfcff3d4006ea46762cf184 12-Jul-2013 Jordan Rose <jordan_rose@apple.com> [scan-build] Add missing comma to ccc-analyzer.

Thanks, Dmitry!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
4aaedf03f5828c6fec07b28e723871ec7ef3ff5a 12-Jul-2013 Jordan Rose <jordan_rose@apple.com> [scan-build] Pass through all -f and -O flags, along with -Wwrite-strings.

These flags control language options and user-visible macros, so it's
important to preserve them when analyzing. Rather than try to keep up
with all the -f flags, we'll pass them all through and then ban the ones
we don't want (like -fsyntax-only).

-Wwrite-strings is really an f-flag in disguise: it implies -fconst-strings.

Patch by Keaton Mowry, modified by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186138 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
98137aa8c5c95356454610d88cae079602ca2bec 03-Jul-2013 Jordan Rose <jordan_rose@apple.com> [scan-build] Log compiler invocation to stderr, not stdout.

This is important for preprocessing steps, which may output to stdout.

Also, change ENV accesses using barewords to use string keys instead.

PR16414

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185555 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
11a90ed93f32791bc1bc7937825d43a97a2d4881 23-Apr-2013 Ted Kremenek <kremenek@apple.com> [scan-build] Whitelist all -mXXXX options.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
544450e449c2fa1af63199b047b2d378be1760ec 14-Feb-2013 Ted Kremenek <kremenek@apple.com> Teach ccc-analyze to pass on -iquote with no spaces between it an the argument.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
75dcea57daa9bd6316a04ebdeee7c0a08781473d 10-Jan-2013 Ted Kremenek <kremenek@apple.com> ccc-analyzer: Forward -msse* options to the compiler.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172094 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
2cbdd7d21e3902e568ce2a51a7459ab5a4fc236c 28-Nov-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] scan-build: Don't forget to close our temp file for Clang's output.

Also, minor whitespace/indentation fixes.

Patch by Peeter Joot!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
501be138462d9d6fe1b55ea92c3a14a2d7501c5f 28-Nov-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] scan-build: Treat '.C' files as C++.

Part of PR14443.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
90b0bc6f41bc68ec7fb59b60a0fd8a61530e1d9d 20-Sep-2012 Benjamin Kramer <benny.kra@googlemail.com> ccc-analyzer: pass -stdlib=libc++ through to the analyzer.

Otherwise clang can't analyze code that relies on features provided by libc++.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164262 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
c629ad4706102a6d9acf2c30a1001b78d3011bfb 24-Aug-2012 Jordan Rose <jordan_rose@apple.com> [scan-build] Accept -fno-objc-arc as well as -fobjc-arc.

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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
6e53137f447a455ccddc2cae5aa000d56fe4b50b 07-Aug-2012 Ted Kremenek <kremenek@apple.com> Teach ccc-analyze about -fobjc-legacy-dispatch and -mios-simulator-version-min

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
1e548f12f7cd6631a3e688a9580ede92898d9e69 23-Jun-2012 Anna Zaks <ganna@apple.com> [analyzer]scan-build: report the total number of steps analyzer performs

This would be useful to investigate performance issues.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
3065cf9ecc883715edbd3bf875acb2cab531138e 19-Jun-2012 Ted Kremenek <kremenek@apple.com> Sink definition of IBOutlet, IBOutletCollection, and IBAction into
the compiler predefines buffer. These are essentially part of
the Objective-C language.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
f8e8a3eeff891d1c056c96b6d6be404533741ba7 25-May-2012 Anna Zaks <ganna@apple.com> [analyzer] Loading external plugins with scan-build

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
f4dd85835bc79aaa0ebdc08244ee0fc7f687285c 14-Apr-2012 Anna Zaks <ganna@apple.com> [analyzer] Add .cxx and .txx as known file extensions to ccc-analyzer.

A patch by Sean McBride.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
1a45a5ff5d495cb6cd9a3d4d06317af79c0f634d 06-Mar-2012 Ted Kremenek <kremenek@apple.com> Add static analyzer support for new NSArray/NSDictionary/NSNumber literals.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
71d9d5cb9d2fc50675e473e7b5883defb281ffd0 27-Jan-2012 Ted Kremenek <kremenek@apple.com> Teach ccc-analyzer about -fobjc-abi-version.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149094 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
dd40b84040b0cf43f94f4c25014ccda379d8610b 06-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] scan-build: If we are on MacOS, use clang as the default
compiler.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147644 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
f5c5f89a10eb42297d1be6f4438a9136e8e4cada 06-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] Skip --serialize-diagnostic when running scan-build.

Otherwise, the analyzer will try to analyze the serialized diagnostic
file as if it were a source file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147643 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
de19bb1f030813a0096de28be68d70533dd1ba9e 16-Nov-2011 Ted Kremenek <kremenek@apple.com> Teach ccc-analyzer about -fobjc-arc.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
1a8a8cbea639d0519f06285e12f64904d1158305 07-Nov-2011 Anna Zaks <ganna@apple.com> [analyzer] Make sure scan-build catches all clang failures.

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)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144029 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
9134294114c15b938f2ff954995d9f00f63dd9d8 09-Sep-2011 Anna Zaks <ganna@apple.com> [analyzer] When running scan-build with -plist on ./configure, delete the 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.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
71f11d6a393c185b8896d3f6a4089ef93d340d00 01-Sep-2011 Anna Zaks <ganna@apple.com> [analyzer] Revert a regression introduced in r133104(The ARC Migration Tool..) due to a merge error.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
0a208183841082057343def56fcf8f2dc4da7edd 12-Aug-2011 Ted Kremenek <kremenek@apple.com> scan-build: enable C++ support by default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
8f0e8d22960d56f8390f4971e2c0f2f0a0884602 16-Jun-2011 John McCall <rjmccall@apple.com> The ARC Migration Tool. All the credit goes to Argyrios and Fariborz
for this.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
5ca328fed2c7bcdf5f1cc1f53d9dc4b9edc95671 13-Apr-2011 Ted Kremenek <kremenek@apple.com> Add Objective-C++ files to those accepted by ccc-analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
09fbf297da918760ce33302a3f709a77f43af265 12-Apr-2011 Ted Kremenek <kremenek@apple.com> Provide options to explicitly enable/disable checkers in scan-build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
ea8b01eb843b9de5b3d05941baba7287709803b3 12-Apr-2011 Ted Kremenek <kremenek@apple.com> Enable C++ static analysis support in ccc-analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129392 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
b26fbc13829212c1788272e9c880bbaa8055c55f 21-Mar-2011 Ted Kremenek <kremenek@apple.com> scan-build: only display analyzer intra-file progress when in "Verbose" mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
5e48bcfa7f43a48a7265583bd4adb29506001933 16-Mar-2011 Ted Kremenek <kremenek@apple.com> Compress argument processing in ccc-analyzer. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
27871ea66fa9b1f5622bef542c422d2ab5969e13 10-Mar-2011 Ted Kremenek <kremenek@apple.com> Tweak ccc-analyzer's 'Analyze' function to not mutate the original arguments list.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
7fe679f300bd063d7edf7071d14c7f3823ef8cce 17-Feb-2011 Ted Kremenek <kremenek@apple.com> Begin overhaul of scan-build/ccc-analyzer's handling of checker options.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
a716f639a6fd4cdadd33853918f1115b3be37cfe 30-Sep-2010 Tom Care <tom.care@uqconnect.edu.au> Modified the ccc-analyzer script to print the compiler command when log level verbosity is enabled. This is handy for debugging.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
d9d97265f9f34b20f174591d88a11a97502c9dbe 03-Jul-2010 Shantonu Sen <ssen@apple.com> Forward -fno-builtin to clang, add .cp as a supported
extension if you otherwise configure scan-build
to do c++ static analysis.

OKed by Ted


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107562 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
55d7d36f48b9b113e30de1721e83a639d14094b0 08-Jun-2010 Ted Kremenek <kremenek@apple.com> Add ccc-analyzer support for '-imacros'. Fixes PR 7204.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
2aefcb2e8b8b37529807945b3ecedda76e75c831 06-Apr-2010 Ted Kremenek <kremenek@apple.com> Fix ccc-analyzer's handling of quoted arguments in the build command. Fixes PR 6791.[B

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100551 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
f6f8d5a47c314ee9ffeca744250f3430540bdf36 08-Mar-2010 Ted Kremenek <kremenek@apple.com> Don't enable static analysis support for C++ by default. Users are
accidentally using it without realizing that it is nowhere close
to being generally usable and are reporting crashes that we
already know about.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
a1359ba1a50d833d55a680ccdc8128d16b399052 02-Mar-2010 Charles Davis <cdavis@mines.edu> Pass -m32 and -m64 to the static analyzer when using scan-build. Now we can
use scan-build with Wine, for example.

Ted, I hope this is OK.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
1d81ed94386198ffe6ba4493aacf198deccd3a18 12-Feb-2010 Ted Kremenek <kremenek@apple.com> Add comments.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95942 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
565e465c6d0093f1bf8414b2cabdc842022385a9 05-Feb-2010 Ted Kremenek <kremenek@apple.com> Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
79433b59915859126a774fcd09fa32d7d5a1a3ef 16-Dec-2009 Ted Kremenek <kremenek@apple.com> Compute the right extension for preprocessed Objective-C++ files.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91547 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
51b939fe14b833d920c294e8343845003d7a856c 16-Dec-2009 Ted Kremenek <kremenek@apple.com> Add logic for computing preprocessor file extensions for C++ files.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
51365b5f74977c13c4902991c076dff8fddc96b7 15-Dec-2009 Ted Kremenek <kremenek@apple.com> scan-build/ccc-analyzer: start analyzing C++ FTW.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
32317b214f58001b2fd4aa9ec140b85c80db33a5 12-Dec-2009 Ted Kremenek <kremenek@apple.com> Remove more old references to clang-cc.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
2a3a8b9f47b0a8f3fdd57bc4fbd08684feb4fa85 11-Dec-2009 Ted Kremenek <kremenek@apple.com> Convert scan-build and ccc-analyzer over to using 'clang -cc1' instead of using 'clang-cc'.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
b40d06dec23b53bbc1157a9adae7f887be31aa3b 07-Dec-2009 Ted Kremenek <kremenek@apple.com> Enable '-analyzer-opt-analyze-nested-blocks' by default for testing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer
d8fdde119630fa717457ab23b077f447bb2e9e3a 01-Dec-2009 Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> Tuck away scan-build related files into tools/scan-build

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90215 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/scan-build/ccc-analyzer