Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use df_ext_iterator to capture the reachable set without allocating an extra ↵ | Owen Anderson | 2008-07-02 | 1 | -17/+14 |
| | | | | | | | | | set. Also, move large sets and vectors out of instance variables and onto the stack, and give them more reasonable sizes. llvm-svn: 53044 | ||||
* | Added version of CheckDeadStores that accepts a client-provided ↵ | Ted Kremenek | 2008-07-02 | 3 | -1/+12 |
| | | | | | | | | LiveVariables object. Modified the DeadStores logic in AnalysisConsumer.cpp to use the LiveVariables object created by the AnalysisManager. llvm-svn: 53043 | ||||
* | Added method "HandleTranslationUnit" to ASTConsumer. This is called by ↵ | Ted Kremenek | 2008-07-02 | 2 | -1/+6 |
| | | | | | | ParseAST when all of the ASTs in a translation unit have been built. llvm-svn: 53042 | ||||
* | Moved logic for -dump-cfg and -view-cfg into AnalysisConsumer. | Ted Kremenek | 2008-07-02 | 5 | -102/+23 |
| | | | | | | Renamed -dump-cfg to -cfg-dump, and -view-cfg to -cfg-view. This naming better matches the same options for asts (e.g. -ast-dump). llvm-svn: 53041 | ||||
* | Avoid a redundant call. | Owen Anderson | 2008-07-02 | 1 | -4/+4 |
| | | | | llvm-svn: 53040 | ||||
* | Move -dump-live-variables logic to AnalysisConsumer. | Ted Kremenek | 2008-07-02 | 5 | -39/+28 |
| | | | | llvm-svn: 53039 | ||||
* | Add support to ADCE for pruning unreachable blocks. This addresses the final | Owen Anderson | 2008-07-02 | 2 | -1/+80 |
| | | | | | | part of PR2509. llvm-svn: 53038 | ||||
* | Make the default min align of CreateStackTemporary to be 1 | Mon P Wang | 2008-07-02 | 1 | -1/+1 |
| | | | | llvm-svn: 53036 | ||||
* | Add a new getMergeValues method that does not need | Duncan Sands | 2008-07-02 | 9 | -83/+63 |
| | | | | | | | | | | to be passed the list of value types, and use this where appropriate. Inappropriate places are where the value type list is already known and may be long, in which case the existing method is more efficient. llvm-svn: 53035 | ||||
* | Use DenseSet rather than SmallPtrSet for the alive set. Using SmallPtrSet | Owen Anderson | 2008-07-02 | 1 | -2/+2 |
| | | | | | | with a huge "size" parameter is actually quite inefficient. llvm-svn: 53034 | ||||
* | Have DenseSet::insert return a bool indicating whether the insertion ↵ | Owen Anderson | 2008-07-02 | 1 | -2/+2 |
| | | | | | | succeeded or not. llvm-svn: 53033 | ||||
* | A better fix for PR2503 that doesn't pessimize GVN in the presence of ↵ | Owen Anderson | 2008-07-02 | 3 | -13/+41 |
| | | | | | | unreachable blocks. llvm-svn: 53032 | ||||
* | Fixed problem in EmitStackConvert where the source and target type | Mon P Wang | 2008-07-02 | 3 | -15/+23 |
| | | | | | | | have different alignment by creating a stack slot with the max alignment of source and target type. llvm-svn: 53031 | ||||
* | instead of aborting on shifts of i1, just implicitly fold them. | Chris Lattner | 2008-07-02 | 1 | -1/+7 |
| | | | | | | The dag combiner can produce a shift of i1 when folding icmp i1's. llvm-svn: 53030 | ||||
* | Migrate CheckerConsumer diagnostics to the new AnalysisConsumer interface. | Ted Kremenek | 2008-07-02 | 2 | -100/+42 |
| | | | | | | Remove CheckerConsumer. llvm-svn: 53029 | ||||
* | Move logic for "-checker-simple" to the new AnalysisConsumer interface. | Ted Kremenek | 2008-07-02 | 5 | -63/+33 |
| | | | | llvm-svn: 53028 | ||||
* | add a description of what sema and parser mean, add C++ style casts. | Chris Lattner | 2008-07-02 | 1 | -1/+14 |
| | | | | llvm-svn: 53027 | ||||
* | Fix typo in test case. | Ted Kremenek | 2008-07-02 | 1 | -1/+1 |
| | | | | llvm-svn: 53024 | ||||
* | Add note that most of C++ is not supported. | Argyrios Kyrtzidis | 2008-07-02 | 1 | -1/+2 |
| | | | | llvm-svn: 53023 | ||||
* | Set CSS defaults for tables. | Argyrios Kyrtzidis | 2008-07-02 | 1 | -20/+23 |
| | | | | llvm-svn: 53022 | ||||
* | Drop 'C++' from the features; suggestion by Holger Schurig. | Argyrios Kyrtzidis | 2008-07-02 | 1 | -5/+5 |
| | | | | llvm-svn: 53020 | ||||
* | Update link to testing guide to use the new title. | Matthijs Kooijman | 2008-07-02 | 1 | -2/+2 |
| | | | | llvm-svn: 53018 | ||||
* | Fix the page title. | Argyrios Kyrtzidis | 2008-07-02 | 1 | -1/+1 |
| | | | | llvm-svn: 53017 | ||||
* | minor tweaks, escape < and > | Gabor Greif | 2008-07-02 | 1 | -6/+6 |
| | | | | llvm-svn: 53016 | ||||
* | add two popular c++ features | Gabor Greif | 2008-07-02 | 1 | -0/+16 |
| | | | | llvm-svn: 53015 | ||||
* | add c++ status link | Gabor Greif | 2008-07-02 | 1 | -2/+3 |
| | | | | llvm-svn: 53014 | ||||
* | Add a C++ status report page. | Argyrios Kyrtzidis | 2008-07-02 | 1 | -0/+65 |
| | | | | llvm-svn: 53013 | ||||
* | Fix typo compounded by a cut-and-pasto. | Duncan Sands | 2008-07-02 | 1 | -4/+4 |
| | | | | llvm-svn: 53012 | ||||
* | Let AnalyzeNewNode take care of calling ExpungeNode. | Duncan Sands | 2008-07-02 | 2 | -86/+79 |
| | | | | | | | This makes sure that all new nodes are expunged, not just those the top node of a new subtree. llvm-svn: 53011 | ||||
* | - Use a faster priority comparison function if -fast. | Evan Cheng | 2008-07-02 | 2 | -228/+304 |
| | | | | | | - Code clean up. llvm-svn: 53010 | ||||
* | optimize StringMap::clear | Chris Lattner | 2008-07-02 | 1 | -6/+11 |
| | | | | llvm-svn: 53009 | ||||
* | Add a new (simple) StringMap::clear method, patch by Pratik | Chris Lattner | 2008-07-02 | 2 | -4/+7 |
| | | | | | | Solanki! llvm-svn: 53008 | ||||
* | reuse vectors. | Devang Patel | 2008-07-02 | 1 | -5/+9 |
| | | | | llvm-svn: 53007 | ||||
* | Fix comment. | Devang Patel | 2008-07-02 | 1 | -1/+1 |
| | | | | llvm-svn: 53006 | ||||
* | Preserve loop data so that it is not fetched everytime it is needed. | Devang Patel | 2008-07-02 | 1 | -69/+85 |
| | | | | | | Keep track of currentLoop. llvm-svn: 53005 | ||||
* | Add DeclCXX.[h.cpp] to clangAST.vcproj | Ted Kremenek | 2008-07-02 | 1 | -0/+8 |
| | | | | llvm-svn: 53004 | ||||
* | Use the canonical form for getting an empty structure. | Bill Wendling | 2008-07-02 | 1 | -10/+5 |
| | | | | llvm-svn: 53003 | ||||
* | Migrated driver logic for running the CF retain/release checker over to the ↵ | Ted Kremenek | 2008-07-02 | 5 | -68/+62 |
| | | | | | | new AnalysisConsumer interface. llvm-svn: 53002 | ||||
* | Sorry. I couldn't sleep at night knowing I put these ugly casts into the ↵ | Bill Wendling | 2008-07-02 | 3 | -8/+8 |
| | | | | | | source tree. llvm-svn: 53001 | ||||
* | Added AnalysisConsumer.[cpp,h] to clangDriver.vcproj. | Ted Kremenek | 2008-07-02 | 2 | -0/+12 |
| | | | | | | Added CXXFieldCollector.h to clangSema.vcproj. llvm-svn: 52999 | ||||
* | Implemented operator!= for the ImmutableList iterator. | Ted Kremenek | 2008-07-02 | 1 | -1/+2 |
| | | | | llvm-svn: 52998 | ||||
* | Updated Xcode project with new files in the Driver: AnalysisConsumer.[h,cpp] | Ted Kremenek | 2008-07-02 | 1 | -0/+6 |
| | | | | llvm-svn: 52997 | ||||
* | Added AnalysisConsumer, a meta-level ASTConsumer class to drive various | Ted Kremenek | 2008-07-02 | 6 | -72/+310 |
| | | | | | | | | | | | | | | | | | | analyses. This potentially is the primordial origins of a Clang-equivalent "PassManager". The new AnalysisConsumer interface allows multiple analyses to be run from a single invocation of Clang. Migrated the logic of "-warn-dead-stores" and "-warn-uninit-values" to use the new AnalysisConsumer interface. The new interface results in a significant code reduction to incorporate an analysis into the Driver. Updated a test case to (correctly) acknowledge that it contains a dead store (this check wasn't being performed because it was previously masked by -warn-uninit-values). llvm-svn: 52996 | ||||
* | Add a version of AddString that takes a const char* so we can avoid extraneous | Owen Anderson | 2008-07-01 | 2 | -0/+39 |
| | | | | | | conversions to std::string. llvm-svn: 52995 | ||||
* | Darwin doesn't need exception handling information for the "move" info when | Bill Wendling | 2008-07-01 | 5 | -3/+13 |
| | | | | | | debug information is being output, because it's leet! llvm-svn: 52994 | ||||
* | Added reference count checker test case. | Ted Kremenek | 2008-07-01 | 1 | -0/+86 |
| | | | | llvm-svn: 52993 | ||||
* | Avoid creating expensive comment string if it's not going to be printed. | Evan Cheng | 2008-07-01 | 4 | -25/+42 |
| | | | | llvm-svn: 52992 | ||||
* | Updated latest checker build. | Ted Kremenek | 2008-07-01 | 1 | -1/+1 |
| | | | | llvm-svn: 52991 | ||||
* | No need to use std::distance. We can just count the number of operands | Owen Anderson | 2008-07-01 | 1 | -1/+4 |
| | | | | | | much more cheaply. llvm-svn: 52990 | ||||
* | Added partial specialization of FoldingSetTrait for pointers. | Ted Kremenek | 2008-07-01 | 1 | -0/+12 |
| | | | | llvm-svn: 52989 |