Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reflow some comments. | Mike Stump | 2009-05-16 | 1 | -0/+2 |
| | | | | llvm-svn: 71937 | ||||
* | push GlobalDecl through enough of the CodeGenModule interfaces | Chris Lattner | 2009-05-12 | 1 | -4/+5 |
| | | | | | | | | | to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.cpp:test2, but when it does, its body should get emitted. llvm-svn: 71594 | ||||
* | Factor code that's common to EmitCXXMemberCallExpr and ↵ | Anders Carlsson | 2009-05-11 | 1 | -27/+34 |
| | | | | | | EmitCXXConstructorCall out into a EmitCXXMemberCall function. llvm-svn: 71514 | ||||
* | Refactor global decls to hold either a regular Decl or a CXXConstructorDecl ↵ | Anders Carlsson | 2009-05-05 | 1 | -2/+2 |
| | | | | | | + ctor type or a CXXDestructorDecl + dtor type. llvm-svn: 70962 | ||||
* | Make codegen for constructors work again. | Anders Carlsson | 2009-05-03 | 1 | -14/+2 |
| | | | | llvm-svn: 70785 | ||||
* | We can now call member functions where the base is a pointer. | Anders Carlsson | 2009-05-01 | 1 | -4/+1 |
| | | | | llvm-svn: 70579 | ||||
* | Add support for generating (very basic) C++ destructors. These aren't called ↵ | Anders Carlsson | 2009-04-17 | 1 | -26/+65 |
| | | | | | | by anything yet. llvm-svn: 69343 | ||||
* | Implement basic code generation of constructor calls. We can now compile: | Anders Carlsson | 2009-04-17 | 1 | -0/+45 |
| | | | | | | | | | | | | struct S { S(int, int); }; void f() { S s(10, 10); } llvm-svn: 69330 | ||||
* | Add GetAddrOfCXXConstructor and use it. | Anders Carlsson | 2009-04-16 | 1 | -5/+11 |
| | | | | llvm-svn: 69328 | ||||
* | Actually generate code for the simple constructors we know we can generate ↵ | Anders Carlsson | 2009-04-15 | 1 | -1/+22 |
| | | | | | | code for. llvm-svn: 69222 | ||||
* | Start attempting to generate code for C++ ctors. | Anders Carlsson | 2009-04-15 | 1 | -1/+32 |
| | | | | llvm-svn: 69168 | ||||
* | Support code generation of 'this' exprs | Anders Carlsson | 2009-04-14 | 1 | -0/+11 |
| | | | | llvm-svn: 69050 | ||||
* | Use the new guard variable mangling function and get rid of the old code. | Anders Carlsson | 2009-04-13 | 1 | -65/+6 |
| | | | | llvm-svn: 68971 | ||||
* | Use the new EmitCallArgs function. No indented functionality change. | Anders Carlsson | 2009-04-08 | 1 | -3/+1 |
| | | | | llvm-svn: 68652 | ||||
* | We weren't generating correct code for calls to variadic member functions. | Anders Carlsson | 2009-04-08 | 1 | -6/+5 |
| | | | | llvm-svn: 68635 | ||||
* | Simplify C++ member function calls. | Anders Carlsson | 2009-04-06 | 1 | -5/+4 |
| | | | | llvm-svn: 68451 | ||||
* | Add support for calling C++ member functions. | Anders Carlsson | 2009-04-03 | 1 | -0/+41 |
| | | | | llvm-svn: 68412 | ||||
* | Pull COdeGenFunction::CreateStaticBlockVarDecl (just for creating the | Daniel Dunbar | 2009-02-25 | 1 | -19/+9 |
| | | | | | | | | global variable) out of GenerateStaticBlockVarDecl. - No intended functionality change. - Prep for some mild cleanups and PR3662. llvm-svn: 65466 | ||||
* | Provide a new kind of iterator, the specific_decl_iterator, that | Douglas Gregor | 2009-01-09 | 1 | -1/+1 |
| | | | | | | | | | filters the decls seen by decl_iterator with two criteria: the dynamic type of the declaration and a run-time predicate described by a member function. This simplifies EnumDecl, RecordDecl, and ObjCContainerDecl considerably. It has no measurable performance impact. llvm-svn: 61994 | ||||
* | Warning fixes to operator precedence warnings. | Eli Friedman | 2008-12-16 | 1 | -1/+1 |
| | | | | | | | Someone should double-check that I didn't somehow break ObjC serialization; I think the change there actually changes the semantics. llvm-svn: 61098 | ||||
* | Rename Selector::getName() to Selector::getAsString(), and add | Chris Lattner | 2008-11-24 | 1 | -8/+5 |
| | | | | | | | | | | | | | a new NamedDecl::getAsString() method. Change uses of Selector::getName() to just pass in a Selector where possible (e.g. to diagnostics) instead of going through an std::string. This also adds new formatters for objcinstance and objcclass as described in the dox. llvm-svn: 59933 | ||||
* | Normalize many BasicBlock names. | Daniel Dunbar | 2008-11-13 | 1 | -1/+1 |
| | | | | | | | | | | - Use dotted notation for blocks related to a particular statement type. - Use .end for landing pads. No functionality change in NDEBUG mode. :) llvm-svn: 59210 | ||||
* | Centralize basic block creation in CodeGenFunction::createBasicBlock. | Daniel Dunbar | 2008-11-11 | 1 | -2/+2 |
| | | | | | | - No functionality change. llvm-svn: 59017 | ||||
* | Handle static initializers in Objective-C++ methods. | Anders Carlsson | 2008-08-23 | 1 | -2/+16 |
| | | | | llvm-svn: 55250 | ||||
* | Add preliminary (and probably broken) codegen support for C++ static ↵ | Anders Carlsson | 2008-08-22 | 1 | -0/+136 |
initializers. llvm-svn: 55180 |