Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use DICompositeType->replaceAllUsesWith() | Devang Patel | 2009-07-27 | 1 | -4/+3 | |
| | | | | llvm-svn: 77228 | |||||
* | When instantiating a variable without an initializer, call | Douglas Gregor | 2009-07-27 | 1 | -3/+2 | |
| | | | | | | ActOnUninitializedDecl. llvm-svn: 77211 | |||||
* | Use the CGRecordLayoutBuilder even if there are no fields, because in C++ an ↵ | Anders Carlsson | 2009-07-27 | 1 | -27/+18 | |
| | | | | | | empty class will have a padding byte. llvm-svn: 77205 | |||||
* | Enable the new struct type builder now that the constant struct builder ↵ | Anders Carlsson | 2009-07-27 | 1 | -3/+0 | |
| | | | | | | works. (The old code will still be there until we know that everything works well. llvm-svn: 77190 | |||||
* | Fix a tail padding bug in the record layout builder code. The bug was found ↵ | Anders Carlsson | 2009-07-27 | 2 | -6/+19 | |
| | | | | | | by an existing test. llvm-svn: 77189 | |||||
* | Enable the new constant struct builder by default. The old code is still in ↵ | Anders Carlsson | 2009-07-27 | 1 | -3/+4 | |
| | | | | | | place but will be removed shortly. The new struct builder works on big endian systems. llvm-svn: 77185 | |||||
* | More work on the constant struct builder, fix a couple of thinkos and add ↵ | Anders Carlsson | 2009-07-27 | 1 | -9/+59 | |
| | | | | | | support for inserting part of a bitfield in the previous byte. llvm-svn: 77180 | |||||
* | More work on bitfield support in the new constant struct builder. | Anders Carlsson | 2009-07-27 | 1 | -2/+79 | |
| | | | | llvm-svn: 77177 | |||||
* | Fix PR4624. | Mike Stump | 2009-07-27 | 1 | -2/+2 | |
| | | | | llvm-svn: 77176 | |||||
* | fix segfault (because of erasing after the vector boundaries) when the ↵ | Nuno Lopes | 2009-07-26 | 1 | -1/+2 | |
| | | | | | | cached token position is at the end llvm-svn: 77159 | |||||
* | add gentoo 2009.0 g++ header locations | Nuno Lopes | 2009-07-26 | 1 | -1/+9 | |
| | | | | llvm-svn: 77158 | |||||
* | Switch to getName() | Daniel Dunbar | 2009-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 77151 | |||||
* | Switch to using llvm::Value::getName() | Daniel Dunbar | 2009-07-26 | 2 | -4/+3 | |
| | | | | llvm-svn: 77147 | |||||
* | Update for API change. | Daniel Dunbar | 2009-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 77112 | |||||
* | Lookup targets by Triple instead of Module. | Daniel Dunbar | 2009-07-26 | 1 | -1/+2 | |
| | | | | llvm-svn: 77108 | |||||
* | Preserve qualifiers. | Mike Stump | 2009-07-25 | 1 | -3/+10 | |
| | | | | llvm-svn: 77097 | |||||
* | PR3575 - warn on declared variable or function attributes after a ↵ | Ryan Flynn | 2009-07-25 | 1 | -0/+19 | |
| | | | | | | definition, which are currently ignored. llvm-svn: 77095 | |||||
* | Refactor ObjCImplDecl::getInstanceMethod/getClassMethod into one | Argyrios Kyrtzidis | 2009-07-25 | 1 | -25/+3 | |
| | | | | | | ObjCImplDecl::getMethod. llvm-svn: 77094 | |||||
* | Refactor ObjCInterfaceDecl::lookupInstanceMethod/lookupClassMethod into one | Argyrios Kyrtzidis | 2009-07-25 | 1 | -43/+8 | |
| | | | | | | ObjCInterfaceDecl::lookupMethod. llvm-svn: 77093 | |||||
* | Refactor ObjCProtocolDecl::lookupInstanceMethod/lookupClassMethod into one | Argyrios Kyrtzidis | 2009-07-25 | 1 | -18/+5 | |
| | | | | | | ObjCProtocolDecl::lookupMethod. llvm-svn: 77092 | |||||
* | Refactor ObjCContainerDecl::getInstanceMethod/getClassMethod into one | Argyrios Kyrtzidis | 2009-07-25 | 1 | -23/+3 | |
| | | | | | | | | ObjCContainerDecl::getMethod. Avoids code duplication. llvm-svn: 77091 | |||||
* | Add noreturn as a type attribute, handle printing for them and handle | Mike Stump | 2009-07-25 | 5 | -36/+98 | |
| | | | | | | calls to noreturn function pointers when CFG building. llvm-svn: 77089 | |||||
* | ir-gen for non-virtual base class initialization | Fariborz Jahanian | 2009-07-25 | 3 | -4/+41 | |
| | | | | | | in constructors. llvm-svn: 77087 | |||||
* | Implement C++ semantics for C-style and functional-style casts. This ↵ | Sebastian Redl | 2009-07-25 | 4 | -515/+635 | |
| | | | | | | | | regresses Clang extension conversions, like vectors, but allows conversions via constructors and conversion operators. Add custom conversions to static_cast. llvm-svn: 77076 | |||||
* | Semantic checking for main(). | John McCall | 2009-07-25 | 1 | -1/+79 | |
| | | | | | | | Fix some invalid main() methods in the test suite that were nicely exposed by the new checks. llvm-svn: 77047 | |||||
* | More work on the constant struct builder. We can now convert the struct to a ↵ | Anders Carlsson | 2009-07-25 | 1 | -3/+40 | |
| | | | | | | packed struct when necessary. llvm-svn: 77038 | |||||
* | Some code refactoring per Daniel's feedback. | Fariborz Jahanian | 2009-07-25 | 1 | -16/+12 | |
| | | | | llvm-svn: 77030 | |||||
* | More work on the constant struct builder. We now try to layout all constant ↵ | Anders Carlsson | 2009-07-25 | 1 | -6/+19 | |
| | | | | | | structs but throw away the result. llvm-svn: 77021 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-24 | 17 | -202/+207 | |
| | | | | llvm-svn: 77012 | |||||
* | Template instantiation for static data members that are defined out-of-line. | Douglas Gregor | 2009-07-24 | 6 | -16/+180 | |
| | | | | | | | | Note that this also fixes a bug that affects non-template code, where we were not treating out-of-line static data members are "file-scope" variables, and therefore not checking their initializers. llvm-svn: 77002 | |||||
* | More Sema check for constructor's member initializer along | Fariborz Jahanian | 2009-07-24 | 1 | -0/+9 | |
| | | | | | | with type conversion to fix ir-gen crash. llvm-svn: 77000 | |||||
* | In the "use of floating point variable as loop counter" check, check | Ted Kremenek | 2009-07-24 | 1 | -5/+7 | |
| | | | | | | if the DeclRefExpr is a float, not just either argument. llvm-svn: 76998 | |||||
* | Have 'clang --analyze' run syntactic static analysis security checks. | Ted Kremenek | 2009-07-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 76996 | |||||
* | Fix 80-col violations, reflow a few comments and zap some extra | Mike Stump | 2009-07-24 | 1 | -159/+158 | |
| | | | | | | whitespace at ends of lines. llvm-svn: 76992 | |||||
* | Fix a release build warning. | Anders Carlsson | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76985 | |||||
* | More work toward initialization of objects | Fariborz Jahanian | 2009-07-24 | 3 | -11/+22 | |
| | | | | | | in constructors. llvm-svn: 76980 | |||||
* | Allow front-end 'isa' access on object's of type 'id'. | Steve Naroff | 2009-07-24 | 6 | -2/+48 | |
| | | | | | | | | Enhance test case to cover 'isa' access on interface types (clang produces an error, GCC produces a warning). Still need back-end CodeGen for ObjCIsaExpr. llvm-svn: 76979 | |||||
* | Don't use getLLVMFieldNo for bitfields when constructing the ivar layout ↵ | Anders Carlsson | 2009-07-24 | 1 | -4/+8 | |
| | | | | | | maps for GC. llvm-svn: 76978 | |||||
* | Check in a half finished new constant struct builder (Obviously not used yet). | Anders Carlsson | 2009-07-24 | 2 | -2/+148 | |
| | | | | llvm-svn: 76969 | |||||
* | Fix declaration of obc_enumerationMutation function, for GNU runtime. | Daniel Dunbar | 2009-07-24 | 2 | -8/+11 | |
| | | | | llvm-svn: 76959 | |||||
* | Add doxygen comments and simplify expression. | Ted Kremenek | 2009-07-24 | 1 | -1/+6 | |
| | | | | llvm-svn: 76955 | |||||
* | Introduce a new variant type 'TryResult' to represent the result of | Ted Kremenek | 2009-07-24 | 1 | -106/+61 | |
| | | | | | | | | | | | TryEvaluateBool instead of using a raw 'int'. This avoids any confusion of how 'int' converts to bool, and makes the resultant code easier to read. Condense a bunch of 'addSuccessor()' calls in 'if ... else' to use the ternary operator instead. llvm-svn: 76947 | |||||
* | Add getDecl() to CallGraph and CallGraphNode. | Zhongxing Xu | 2009-07-24 | 1 | -0/+7 | |
| | | | | llvm-svn: 76940 | |||||
* | Constify methods. | Zhongxing Xu | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76939 | |||||
* | Test commit: make a little stub routine for semantic checking of main(). | John McCall | 2009-07-24 | 2 | -0/+7 | |
| | | | | llvm-svn: 76934 | |||||
* | Implement new warning for functions declared 'noreturn' when they fall off ↵ | Mike Stump | 2009-07-24 | 1 | -15/+39 | |
| | | | | | | the end. llvm-svn: 76932 | |||||
* | Get rid of the size parameter to AppendField. No functionality change. | Anders Carlsson | 2009-07-24 | 2 | -10/+8 | |
| | | | | llvm-svn: 76931 | |||||
* | Mark destructor of Checker virtual. | Ted Kremenek | 2009-07-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 76924 | |||||
* | This patch fixes the implementations of the __has_trivial_destructor | Douglas Gregor | 2009-07-23 | 7 | -27/+100 | |
| | | | | | | | | and __has_trivial_constructor builtin pseudo-functions and additionally implements __has_trivial_copy and __has_trivial_assign, from John McCall! llvm-svn: 76916 | |||||
* | Output UTF-16 string literals independent of host byte order. | Daniel Dunbar | 2009-07-23 | 1 | -9/+24 | |
| | | | | | | | | - Steve, can you take a look at this? It seems like this code should live elsewhere, and there is a FIXME about having Sema validates the UTF-8 to UTF-16 conversion. llvm-svn: 76915 |