Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | "This patch adds paths for Fedora 9 in clang.cpp and support for two ↵ | Ted Kremenek | 2008-07-24 | 1 | -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 Kremenek | 2008-07-19 | 1 | -257/+282 | |
| | | | | | | obvious optimizations when processing command line arguments. llvm-svn: 53783 | |||||
* | Remove typo. | Ted Kremenek | 2008-07-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 53776 | |||||
* | Quote invocation of clang in pipe to handle paths with spaces. | Ted Kremenek | 2008-07-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 53775 | |||||
* | Have scan-build control default analyses. | Ted Kremenek | 2008-07-15 | 2 | -7/+10 | |
| | | | | llvm-svn: 53654 | |||||
* | Add -DIBOutlet=__attribute__((iboutlet)) to analyzer arguments. | Ted Kremenek | 2008-07-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 53648 | |||||
* | Added --status-bugs option to scan-build. By default, the exit status of | Ted Kremenek | 2008-07-15 | 1 | -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 Kremenek | 2008-07-15 | 1 | -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 Kremenek | 2008-07-15 | 1 | -9/+9 | |
| | | | | llvm-svn: 53635 | |||||
* | scan-build now propagates up the exit status of the build command. | Ted Kremenek | 2008-07-15 | 1 | -2/+5 | |
| | | | | llvm-svn: 53620 | |||||
* | Do not enable -warn-objc-missing-dealloc by default. | Ted Kremenek | 2008-07-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 53619 | |||||
* | scan-build now interrogates clang for a list of available analyses, and presents | Ted Kremenek | 2008-07-15 | 1 | -23/+79 | |
| | | | | | | these as options to the user of scan-build. llvm-svn: 53618 | |||||
* | Re-enable missing -dealloc check. | Ted Kremenek | 2008-07-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 53578 | |||||
* | Using new clang option to invoke the type-signature check of Objective-C ↵ | Ted Kremenek | 2008-07-14 | 1 | -1/+1 | |
| | | | | | | instance methods. llvm-svn: 53576 | |||||
* | Run by default: -check-objc-methodsigs | Ted Kremenek | 2008-07-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 53483 | |||||
* | scan-build now also prints the HTML directory reports were emitted to at the ↵ | Ted Kremenek | 2008-07-11 | 1 | -1/+4 | |
| | | | | | | end of the build. llvm-svn: 53466 | |||||
* | Mark the "Bug Type" column as being initially sorted (display the sort ding) ↵ | Ted Kremenek | 2008-07-07 | 1 | -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 Kremenek | 2008-07-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 53175 | |||||
* | llvm-ld doesnt support -O1, -O2, etc options, so dont pass them | Nuno Lopes | 2008-07-05 | 1 | -3/+1 | |
| | | | | llvm-svn: 53144 | |||||
* | Have ccc-analyzer skip any files with an unknown (or absent) extension. | Ted Kremenek | 2008-07-03 | 1 | -1/+3 | |
| | | | | llvm-svn: 53114 | |||||
* | ccc-analyzer now dispatches the options "-checker-cfref" and ↵ | Ted Kremenek | 2008-07-02 | 2 | -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 Kremenek | 2008-06-30 | 1 | -0/+5 | |
| | | | | | | command. llvm-svn: 52913 | |||||
* | Bug fix: when copying prefix files using 'cp', don't split file names by spaces. | Ted Kremenek | 2008-06-30 | 1 | -11/+11 | |
| | | | | llvm-svn: 52899 | |||||
* | "This maps the -pthread option to -lpthread - this isn't 100% correct, | Chris Lattner | 2008-06-21 | 1 | -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 Lopes | 2008-06-17 | 1 | -7/+17 | |
| | | | | | | Patch by Filipe Cabecinhas llvm-svn: 52417 | |||||
* | Only use colored output when the environment variable SCAN_BUILD_COLOR is set. | Ted Kremenek | 2008-06-17 | 1 | -1/+2 | |
| | | | | llvm-svn: 52379 | |||||
* | Remove debugging message in ccc-analyzer. | Ted Kremenek | 2008-06-16 | 2 | -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 Kremenek | 2008-06-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 52367 | |||||
* | Skip a few more files and linker options. | Ted Kremenek | 2008-06-10 | 1 | -3/+3 | |
| | | | | llvm-svn: 52189 | |||||
* | Ignore a few more linker arguments. | Ted Kremenek | 2008-06-05 | 1 | -1/+2 | |
| | | | | llvm-svn: 52023 | |||||
* | ccc-analyzer now properly eats the -install_name, -exported_symbols_list, ↵ | Ted Kremenek | 2008-06-04 | 1 | -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 Kremenek | 2008-06-02 | 1 | -2/+3 | |
| | | | | | | of gcc. llvm-svn: 51883 | |||||
* | Use "file_language" for per-language -x options. | Ted Kremenek | 2008-06-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 51871 | |||||
* | When the build command is xcodebuild, set the magical environment variable ↵ | Ted Kremenek | 2008-05-27 | 1 | -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 Kremenek | 2008-05-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 51620 | |||||
* | Fix variable misspelling. | Ted Kremenek | 2008-05-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 51548 | |||||
* | Don't use inferlanguage to override the default language for all files. | Ted Kremenek | 2008-05-24 | 1 | -2/+3 | |
| | | | | llvm-svn: 51547 | |||||
* | Don't analyze .o files. | Ted Kremenek | 2008-05-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 51546 | |||||
* | Cleanup indentation and remove some dead code. | Ted Kremenek | 2008-05-24 | 1 | -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 Kremenek | 2008-05-23 | 1 | -1/+5 | |
| | | | | llvm-svn: 51509 | |||||
* | When known, include the analyzer build in the output of scan-build. | Ted Kremenek | 2008-05-23 | 1 | -2/+16 | |
| | | | | llvm-svn: 51492 | |||||
* | Don't specify a -o option to clang when not using "-checker-cfref". | Ted Kremenek | 2008-05-14 | 1 | -2/+6 | |
| | | | | llvm-svn: 51124 | |||||
* | Fix variable misspelling. | Ted Kremenek | 2008-05-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 51122 | |||||
* | Don't run clang on .s files. | Ted Kremenek | 2008-05-14 | 1 | -0/+5 | |
| | | | | llvm-svn: 51121 | |||||
* | Added "-a" option to scan-build to select the analysis (ASTConsumer) used by ↵ | Ted Kremenek | 2008-05-14 | 2 | -8/+39 | |
| | | | | | | clang. The default is -checker-cfref. llvm-svn: 51116 | |||||
* | Zero-pad the month and day fields in the output HTML directory. | Ted Kremenek | 2008-05-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 51109 | |||||
* | Output #LINE for computing line counts. | Ted Kremenek | 2008-05-13 | 1 | -2/+3 | |
| | | | | llvm-svn: 51079 | |||||
* | Use "-i" option with make when ignoring errors. | Ted Kremenek | 2008-05-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 51070 | |||||
* | Re-enable the analyzer. | Ted Kremenek | 2008-05-13 | 1 | -2/+1 | |
| | | | | llvm-svn: 51055 | |||||
* | Place "-x" option before other analyzer options. | Ted Kremenek | 2008-05-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 51014 |