415287d943 
								
							 
						 
						
							
							
								
								Add static analyzer support for new NSArray/NSDictionary/NSNumber literals.  
							
							... 
							
							
							
							llvm-svn: 152139 
							
						 
						
							2012-03-06 20:06:12 +00:00  
				
					
						
							
							
								 
						
							
								49db052db4 
								
							 
						 
						
							
							
								
								Teach ccc-analyzer about -fobjc-abi-version.  
							
							... 
							
							
							
							llvm-svn: 149094 
							
						 
						
							2012-01-26 23:30:13 +00:00  
				
					
						
							
							
								 
						
							
								1d39152059 
								
							 
						 
						
							
							
								
								[analyzer] scan-build: If we are on MacOS, use clang as the default  
							
							... 
							
							
							
							compiler.
llvm-svn: 147644 
							
						 
						
							2012-01-06 01:54:05 +00:00  
				
					
						
							
							
								 
						
							
								3a7f73d996 
								
							 
						 
						
							
							
								
								[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.
llvm-svn: 147643 
							
						 
						
							2012-01-06 01:54:02 +00:00  
				
					
						
							
							
								 
						
							
								0e9843b328 
								
							 
						 
						
							
							
								
								Teach ccc-analyzer about -fobjc-arc.  
							
							... 
							
							
							
							llvm-svn: 144778 
							
						 
						
							2011-11-16 05:14:42 +00:00  
				
					
						
							
							
								 
						
							
								9fed084503 
								
							 
						 
						
							
							
								
								[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)
llvm-svn: 144029 
							
						 
						
							2011-11-07 22:38:10 +00:00  
				
					
						
							
							
								 
						
							
								45ce1bf091 
								
							 
						 
						
							
							
								
								[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.)
llvm-svn: 139382 
							
						 
						
							2011-09-09 18:43:53 +00:00  
				
					
						
							
							
								 
						
							
								5efad63f57 
								
							 
						 
						
							
							
								
								[analyzer] Revert a regression introduced in r133104(The ARC Migration Tool..) due to a merge error.  
							
							... 
							
							
							
							llvm-svn: 138919 
							
						 
						
							2011-08-31 23:53:24 +00:00  
				
					
						
							
							
								 
						
							
								d33c4d39a0 
								
							 
						 
						
							
							
								
								scan-build: enable C++ support by default.  
							
							... 
							
							
							
							llvm-svn: 137382 
							
						 
						
							2011-08-11 22:47:20 +00:00  
				
					
						
							
							
								 
						
							
								d70fb9812a 
								
							 
						 
						
							
							
								
								The ARC Migration Tool.  All the credit goes to Argyrios and Fariborz  
							
							... 
							
							
							
							for this.
llvm-svn: 133104 
							
						 
						
							2011-06-15 23:25:17 +00:00  
				
					
						
							
							
								 
						
							
								13b5a2c2f8 
								
							 
						 
						
							
							
								
								Add Objective-C++ files to those accepted by ccc-analyzer.  
							
							... 
							
							
							
							llvm-svn: 129475 
							
						 
						
							2011-04-13 21:52:05 +00:00  
				
					
						
							
							
								 
						
							
								f62a279e4c 
								
							 
						 
						
							
							
								
								Provide options to explicitly enable/disable checkers in scan-build.  
							
							... 
							
							
							
							llvm-svn: 129393 
							
						 
						
							2011-04-12 21:47:00 +00:00  
				
					
						
							
							
								 
						
							
								79c4c2baa9 
								
							 
						 
						
							
							
								
								Enable C++ static analysis support in ccc-analyzer.  
							
							... 
							
							
							
							llvm-svn: 129392 
							
						 
						
							2011-04-12 21:46:57 +00:00  
				
					
						
							
							
								 
						
							
								9acb346375 
								
							 
						 
						
							
							
								
								scan-build: only display analyzer intra-file progress when in "Verbose" mode.  
							
							... 
							
							
							
							llvm-svn: 128015 
							
						 
						
							2011-03-21 20:12:21 +00:00  
				
					
						
							
							
								 
						
							
								d4bcb4ffc1 
								
							 
						 
						
							
							
								
								Compress argument processing in ccc-analyzer.  No functionality change.  
							
							... 
							
							
							
							llvm-svn: 127758 
							
						 
						
							2011-03-16 21:10:42 +00:00  
				
					
						
							
							
								 
						
							
								339f7c3c58 
								
							 
						 
						
							
							
								
								Tweak ccc-analyzer's 'Analyze' function to not mutate the original arguments list.  
							
							... 
							
							
							
							llvm-svn: 127428 
							
						 
						
							2011-03-10 21:10:08 +00:00  
				
					
						
							
							
								 
						
							
								42ec914ff8 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 125712 
							
						 
						
							2011-02-17 02:28:30 +00:00  
				
					
						
							
							
								 
						
							
								a5f13c866c 
								
							 
						 
						
							
							
								
								Modified the ccc-analyzer script to print the compiler command when log level verbosity is enabled. This is handy for debugging.  
							
							... 
							
							
							
							llvm-svn: 115109 
							
						 
						
							2010-09-29 23:48:31 +00:00  
				
					
						
							
							
								 
						
							
								df44f74290 
								
							 
						 
						
							
							
								
								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
llvm-svn: 107562 
							
						 
						
							2010-07-03 03:08:23 +00:00  
				
					
						
							
							
								 
						
							
								e869a182c2 
								
							 
						 
						
							
							
								
								Add ccc-analyzer support for '-imacros'.  Fixes PR 7204.  
							
							... 
							
							
							
							llvm-svn: 105624 
							
						 
						
							2010-06-08 18:27:55 +00:00  
				
					
						
							
							
								 
						
							
								7deb7050d5 
								
							 
						 
						
							
							
								
								Fix ccc-analyzer's handling of quoted arguments in the build command.  Fixes PR 6791.[B  
							
							... 
							
							
							
							llvm-svn: 100551 
							
						 
						
							2010-04-06 19:41:24 +00:00  
				
					
						
							
							
								 
						
							
								adccbca23f 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 97960 
							
						 
						
							2010-03-08 19:06:44 +00:00  
				
					
						
							
							
								 
						
							
								dde71b93da 
								
							 
						 
						
							
							
								
								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.
llvm-svn: 97566 
							
						 
						
							2010-03-02 15:26:41 +00:00  
				
					
						
							
							
								 
						
							
								14015de619 
								
							 
						 
						
							
							
								
								Add comments.  
							
							... 
							
							
							
							llvm-svn: 95942 
							
						 
						
							2010-02-12 00:10:34 +00:00  
				
					
						
							
							
								 
						
							
								2f2692f8ca 
								
							 
						 
						
							
							
								
								Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'.  
							
							... 
							
							
							
							llvm-svn: 95348 
							
						 
						
							2010-02-05 02:06:54 +00:00  
				
					
						
							
							
								 
						
							
								22a8a4bfb9 
								
							 
						 
						
							
							
								
								Compute the right extension for preprocessed Objective-C++ files.  
							
							... 
							
							
							
							llvm-svn: 91547 
							
						 
						
							2009-12-16 18:32:41 +00:00  
				
					
						
							
							
								 
						
							
								dca6816d6a 
								
							 
						 
						
							
							
								
								Add logic for computing preprocessor file extensions for C++ files.  
							
							... 
							
							
							
							llvm-svn: 91505 
							
						 
						
							2009-12-16 05:02:47 +00:00  
				
					
						
							
							
								 
						
							
								f65a0c6768 
								
							 
						 
						
							
							
								
								scan-build/ccc-analyzer: start analyzing C++ FTW.  
							
							... 
							
							
							
							llvm-svn: 91398 
							
						 
						
							2009-12-15 02:35:54 +00:00  
				
					
						
							
							
								 
						
							
								f92b446dd4 
								
							 
						 
						
							
							
								
								Remove more old references to clang-cc.  
							
							... 
							
							
							
							llvm-svn: 91177 
							
						 
						
							2009-12-11 23:12:52 +00:00  
				
					
						
							
							
								 
						
							
								5c512e63f4 
								
							 
						 
						
							
							
								
								Convert scan-build and ccc-analyzer over to using 'clang -cc1' instead of using 'clang-cc'.  
							
							... 
							
							
							
							llvm-svn: 91172 
							
						 
						
							2009-12-11 22:44:53 +00:00  
				
					
						
							
							
								 
						
							
								7bea9a1672 
								
							 
						 
						
							
							
								
								Enable '-analyzer-opt-analyze-nested-blocks' by default for testing.  
							
							... 
							
							
							
							llvm-svn: 90812 
							
						 
						
							2009-12-07 22:26:14 +00:00  
				
					
						
							
							
								 
						
							
								cb58439f34 
								
							 
						 
						
							
							
								
								Tuck away scan-build related files into tools/scan-build  
							
							... 
							
							
							
							llvm-svn: 90215 
							
						 
						
							2009-12-01 06:52:01 +00:00