summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* "This patch adds paths for Fedora 9 in clang.cpp and support for two ↵Ted Kremenek2008-07-241-0/+4
| | | | | | | | preprocessor options in ccc." Patch by Zhongxing Xu! llvm-svn: 53976
* Reimplement ccc-analyzer in a language I actually know, and implement some ↵Ted Kremenek2008-07-191-257/+282
| | | | | | obvious optimizations when processing command line arguments. llvm-svn: 53783
* Remove typo.Ted Kremenek2008-07-181-1/+1
| | | | llvm-svn: 53776
* Quote invocation of clang in pipe to handle paths with spaces.Ted Kremenek2008-07-181-1/+1
| | | | llvm-svn: 53775
* Have scan-build control default analyses.Ted Kremenek2008-07-152-7/+10
| | | | llvm-svn: 53654
* Add -DIBOutlet=__attribute__((iboutlet)) to analyzer arguments.Ted Kremenek2008-07-151-1/+1
| | | | llvm-svn: 53648
* Added --status-bugs option to scan-build. By default, the exit status ofTed Kremenek2008-07-151-23/+43
| | | | | | | | | | scan-build is the same as the exit status of the executed build command. With this option, the exit status of scan-build is 1 if the analyzer flagged any bugs, and 0 otherwise. This addresses: <rdar://problem/6075320> llvm-svn: 53642
* Per Sam Bishop's excellent suggestion, use "system" instead of backticks to ↵Ted Kremenek2008-07-151-13/+13
| | | | | | invoke sub-commands used by scan-build. This avoids meta-character translation issues caused by a shell subprocess. llvm-svn: 53640
* Quote file names to better handle paths with spaces.Ted Kremenek2008-07-151-9/+9
| | | | llvm-svn: 53635
* scan-build now propagates up the exit status of the build command.Ted Kremenek2008-07-151-2/+5
| | | | llvm-svn: 53620
* Do not enable -warn-objc-missing-dealloc by default.Ted Kremenek2008-07-151-1/+1
| | | | llvm-svn: 53619
* scan-build now interrogates clang for a list of available analyses, and presentsTed Kremenek2008-07-151-23/+79
| | | | | | these as options to the user of scan-build. llvm-svn: 53618
* Re-enable missing -dealloc check.Ted Kremenek2008-07-141-1/+1
| | | | llvm-svn: 53578
* Using new clang option to invoke the type-signature check of Objective-C ↵Ted Kremenek2008-07-141-1/+1
| | | | | | instance methods. llvm-svn: 53576
* Run by default: -check-objc-methodsigsTed Kremenek2008-07-111-1/+1
| | | | llvm-svn: 53483
* scan-build now also prints the HTML directory reports were emitted to at the ↵Ted Kremenek2008-07-111-1/+4
| | | | | | end of the build. llvm-svn: 53466
* Mark the "Bug Type" column as being initially sorted (display the sort ding) ↵Ted Kremenek2008-07-071-1/+1
| | | | | | so that users can readily see that the table can be sorted. llvm-svn: 53176
* Output html should have 'class=' before "sorttable_nosort".Ted Kremenek2008-07-071-2/+2
| | | | llvm-svn: 53175
* llvm-ld doesnt support -O1, -O2, etc options, so dont pass themNuno Lopes2008-07-051-3/+1
| | | | llvm-svn: 53144
* Have ccc-analyzer skip any files with an unknown (or absent) extension.Ted Kremenek2008-07-031-1/+3
| | | | llvm-svn: 53114
* ccc-analyzer now dispatches the options "-checker-cfref" and ↵Ted Kremenek2008-07-022-9/+8
| | | | | | "-warn-dead-stores" to clang instead of just "-checker-cfref". llvm-svn: 53053
* When inspecting the build command, strip off the preceding path to the build ↵Ted Kremenek2008-06-301-0/+5
| | | | | | command. llvm-svn: 52913
* Bug fix: when copying prefix files using 'cp', don't split file names by spaces.Ted Kremenek2008-06-301-11/+11
| | | | llvm-svn: 52899
* "This maps the -pthread option to -lpthread - this isn't 100% correct, Chris Lattner2008-06-211-0/+6
| | | | | | | | | | | | | | | since handling this correctly is quite complex, and on some platforms requires additional -D options and on some implies linking against a different libc, but this works better than just ignoring the option. The other change passes the -x option across to clang, which allows compiling .c files as Objective-C and so on. For some reason a lot of configure scripts seem to be under the misguided impression that this is a sensible thing to do." Patch by David Chisnall! llvm-svn: 52579
* handle -arch and -isysroot correctly (like ccc-analyszer do).Nuno Lopes2008-06-171-7/+17
| | | | | | Patch by Filipe Cabecinhas llvm-svn: 52417
* Only use colored output when the environment variable SCAN_BUILD_COLOR is set.Ted Kremenek2008-06-171-1/+2
| | | | llvm-svn: 52379
* Remove debugging message in ccc-analyzer.Ted Kremenek2008-06-162-20/+54
| | | | | | Add color diagnostics from scan-build, and indicate the number of bugs found (if any). llvm-svn: 52372
* Re-enable the analyzer.Ted Kremenek2008-06-161-1/+1
| | | | llvm-svn: 52367
* Skip a few more files and linker options.Ted Kremenek2008-06-101-3/+3
| | | | llvm-svn: 52189
* Ignore a few more linker arguments.Ted Kremenek2008-06-051-1/+2
| | | | llvm-svn: 52023
* ccc-analyzer now properly eats the -install_name, -exported_symbols_list, ↵Ted Kremenek2008-06-041-0/+9
| | | | | | -current_version, -compatibility_version, and -sectorder command line arguments. llvm-svn: 51965
* Use the correct 'ccc-analyzer' when the build command is a direct invocation ↵Ted Kremenek2008-06-021-2/+3
| | | | | | of gcc. llvm-svn: 51883
* Use "file_language" for per-language -x options.Ted Kremenek2008-06-021-2/+2
| | | | llvm-svn: 51871
* When the build command is xcodebuild, set the magical environment variable ↵Ted Kremenek2008-05-271-1/+7
| | | | | | LDPLUSPLUS to g++ to ensure that C++ object files are linked with g++ instead of gcc. llvm-svn: 51621
* Correctly check to see if we are analyzing C++ files (skip).Ted Kremenek2008-05-271-1/+1
| | | | llvm-svn: 51620
* Fix variable misspelling.Ted Kremenek2008-05-241-1/+1
| | | | llvm-svn: 51548
* Don't use inferlanguage to override the default language for all files.Ted Kremenek2008-05-241-2/+3
| | | | llvm-svn: 51547
* Don't analyze .o files.Ted Kremenek2008-05-241-1/+1
| | | | llvm-svn: 51546
* Cleanup indentation and remove some dead code.Ted Kremenek2008-05-241-216/+195
| | | | | | | | Analyze files not compiled using "-c". This fixes: <rdar://problem/5961638> invoke checker when gcc is not called with "-c" llvm-svn: 51545
* Disable the use of PCH files when using xcodebuild.Ted Kremenek2008-05-231-1/+5
| | | | llvm-svn: 51509
* When known, include the analyzer build in the output of scan-build.Ted Kremenek2008-05-231-2/+16
| | | | llvm-svn: 51492
* Don't specify a -o option to clang when not using "-checker-cfref".Ted Kremenek2008-05-141-2/+6
| | | | llvm-svn: 51124
* Fix variable misspelling.Ted Kremenek2008-05-141-1/+1
| | | | llvm-svn: 51122
* Don't run clang on .s files.Ted Kremenek2008-05-141-0/+5
| | | | llvm-svn: 51121
* Added "-a" option to scan-build to select the analysis (ASTConsumer) used by ↵Ted Kremenek2008-05-142-8/+39
| | | | | | clang. The default is -checker-cfref. llvm-svn: 51116
* Zero-pad the month and day fields in the output HTML directory.Ted Kremenek2008-05-141-1/+1
| | | | llvm-svn: 51109
* Output #LINE for computing line counts.Ted Kremenek2008-05-131-2/+3
| | | | llvm-svn: 51079
* Use "-i" option with make when ignoring errors.Ted Kremenek2008-05-131-0/+1
| | | | llvm-svn: 51070
* Re-enable the analyzer.Ted Kremenek2008-05-131-2/+1
| | | | llvm-svn: 51055
* Place "-x" option before other analyzer options.Ted Kremenek2008-05-121-1/+1
| | | | llvm-svn: 51014
OpenPOWER on IntegriCloud