aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
AgeCommit message (Expand)Author
2010-04-12Have the CXXBaseOrMemberInitializer keep track of whether an initializer init...Anders Carlsson
2010-03-30the big refactoring bits of PR3782.Rafael Espindola
2010-03-30Remove the old vtable layout code.Anders Carlsson
2010-03-30Use the new function in EmitClassAggrMemberwiseCopy, fixing the same assert a...Anders Carlsson
2010-03-30Factor emitting a call to a copy constructor out into a separate function.Anders Carlsson
2010-03-30Introduce a CXXTemporariesCleanupScope RAII object and use it to cleanup the ...Anders Carlsson
2010-03-30Handle default arguments when calling copy constructors for bases or members ...Anders Carlsson
2010-03-29Flip the switch to always get vtables from the VTT when necessary, I've verif...Anders Carlsson
2010-03-29Cleanup, no functionality change.Anders Carlsson
2010-03-29Fix another thinko, so that flags don't depend on previous bases.Anders Carlsson
2010-03-29When generating base ctors/dtors, we need to lookup virtual bases using the v...Anders Carlsson
2010-03-29Use construction vtables when needed. This is currently guarded by -fdump-vta...Anders Carlsson
2010-03-28Reapply r99775 with a fix for a silly bug - we were setting the vtable pointe...Anders Carlsson
2010-03-28Looks like I broke self-host again :(.Anders Carlsson
2010-03-28More improvements to setting the vtable pointer. We now no longer set the vta...Anders Carlsson
2010-03-28Factor vtable pointer setting code out into a separate function.Anders Carlsson
2010-03-26Revert r99612 and see if it fixes self-host.Anders Carlsson
2010-03-26Don't initialize virtual pointers for primary bases, they've already been ini...Anders Carlsson
2010-03-26Simplify InitializeVtablePtrs in preparation of making it work with construct...Anders Carlsson
2010-03-24Use getNamedGlobal instead of getGlobalVariable. (Fixes self-host).Anders Carlsson
2010-03-24More vtable work; preparations for moving over to the new vtable layout code ...Anders Carlsson
2010-03-23Rename CGVtableInfo to CodeGenVTables in preparation of adding another VTable...Anders Carlsson
2010-03-11Rename getVirtualBaseOffsetIndex to getVirtualBaseOffsetOffset to reflect wha...Anders Carlsson
2010-02-23Perform two more constructor/destructor code-size optimizations:John McCall
2010-02-19More refactoring around constructor/destructor code generation.John McCall
2010-02-18Make deleting and complete dtor variants defer to other dtor variants byJohn McCall
2010-02-18Extract out function-body code generation into its own method. No functionalityJohn McCall
2010-02-16IRgen optimization: cache the value of 'this' and 'vtt' instead ofJohn McCall
2010-02-16When emitting complete destructors for classes with virtual bases, computeJohn McCall
2010-02-07Make sure to set vtable pointers in the destructors as well.Anders Carlsson
2010-02-06Call destructors for constructed bases as well.Anders Carlsson
2010-02-06If a constructor throws an exception we need to execute the destructors for a...Anders Carlsson
2010-02-06Remove unused variable.Ted Kremenek
2010-02-06Rearrange some checks to avoid call to isCopyConstructor() and clarify pathJohn McCall
2010-02-05Standardize the parsing of function type attributes in a way thatJohn McCall
2010-02-03Revert the new reference binding code; I came up with a way simpler solution ...Anders Carlsson
2010-02-02Set the correct vtable pointers _before_ generating code for any member initi...Anders Carlsson
2010-01-31Simplify EmitMemberInitializer; no intended functionality change.Eli Friedman
2010-01-31Rework base and member initialization in constructors, with severalDouglas Gregor
2010-01-31When performing a derived-to-base cast that we know will not change the offse...Anders Carlsson
2010-01-31When doing a base-to-derived cast we don't need to null check the derived val...Anders Carlsson
2010-01-31Some class related cleanup.Anders Carlsson
2010-01-29Use EmitLValueForFieldInitialization when synthesizing the copy ctor as well.Anders Carlsson
2010-01-29Add a new EmitLValueForFieldInitialization that will be used for initializing...Anders Carlsson
2010-01-29Simplify EmitLValueForField - we can get whether the field is part of a union...Anders Carlsson
2010-01-15Fix a couple bugs in copy assignment operator synthesis.Eli Friedman
2010-01-02Move address points to CGVtableInfo, no functionality change.Anders Carlsson
2010-01-02Correctly pass VTT parameters to constructors and destructors. The VTTs aren'...Anders Carlsson
2010-01-01Move a few more functions away from CGCXX and to CGClass and CGExprCXX.Anders Carlsson
2009-12-24Move a bunch of class related functions to CGClass.cpp, no functionality change.Anders Carlsson