Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly pass VTT parameters to constructors and destructors. The VTTs ↵ | Anders Carlsson | 2010-01-02 | 1 | -3/+11 |
| | | | | | | aren't yet used in the ctors/dtors, but that will follow. llvm-svn: 92409 | ||||
* | Move a few more functions away from CGCXX and to CGClass and CGExprCXX. | Anders Carlsson | 2010-01-01 | 1 | -0/+321 |
| | | | | llvm-svn: 92399 | ||||
* | Remove some dead variables clang-analyzer found. | Benjamin Kramer | 2009-12-25 | 1 | -1/+0 |
| | | | | llvm-svn: 92162 | ||||
* | Pass the return value slot to all call exprs. | Anders Carlsson | 2009-12-24 | 1 | -1/+1 |
| | | | | llvm-svn: 92145 | ||||
* | Pass ReturnValueSlot to EmitCall. No functionality change yet. | Anders Carlsson | 2009-12-24 | 1 | -2/+2 |
| | | | | llvm-svn: 92138 | ||||
* | There is no such thing as typeinfo for a cv-qualified type. Assert | Douglas Gregor | 2009-12-23 | 1 | -2/+4 |
| | | | | | | | | that this is true when mangling, then fix up the various places in Sema and/or CodeGen that need to remove qualifiers. Addresses a linking issue when building LLVM with Clang. llvm-svn: 92064 | ||||
* | Fix regression I introduced when dynamic_cast-ing to a reference type. | Anders Carlsson | 2009-12-18 | 1 | -1/+1 |
| | | | | llvm-svn: 91687 | ||||
* | Rename GetAddrOfRTTI to GetAddrOfRTTIDescriptor. Remove the overload that ↵ | Anders Carlsson | 2009-12-17 | 1 | -34/+31 |
| | | | | | | takes a CXXRecordDecl since we were just creating a QualType from it anyway. llvm-svn: 91590 | ||||
* | Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. ↵ | Anders Carlsson | 2009-12-16 | 1 | -4/+4 |
| | | | | | | With this change, we can now compile and link TableGen. llvm-svn: 91520 | ||||
* | Don't use a cookie if the global placement new function is used. | Anders Carlsson | 2009-12-13 | 1 | -1/+13 |
| | | | | llvm-svn: 91251 | ||||
* | Fix regression in my last commit - if a struct has a trivial destructor but ↵ | Anders Carlsson | 2009-12-13 | 1 | -9/+17 |
| | | | | | | no usual deallocation function we don't need a cookie. llvm-svn: 91249 | ||||
* | More array cookie improvements. | Anders Carlsson | 2009-12-13 | 1 | -61/+95 |
| | | | | llvm-svn: 91247 | ||||
* | If the usual array deallocation function of a class takes two arguments, we ↵ | Anders Carlsson | 2009-12-13 | 1 | -27/+46 |
| | | | | | | need to pass the number of bytes allocated to the deallocation function, just not the number of bytes in a single element. llvm-svn: 91246 | ||||
* | Improve linkage of RTTI data structures. Introduce ↵ | Anders Carlsson | 2009-12-11 | 1 | -12/+4 |
| | | | | | | CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests). llvm-svn: 91098 | ||||
* | Change rtti/Rtti to RTTI, as it is an acronym. | Mike Stump | 2009-12-02 | 1 | -7/+7 |
| | | | | llvm-svn: 90334 | ||||
* | Handle cases where we're constructing an array of objects and the ↵ | Anders Carlsson | 2009-11-24 | 1 | -26/+28 |
| | | | | | | constructor has default arguments. llvm-svn: 89783 | ||||
* | Get rid of the ugly CGCXX names and replace them with CGClass, CGExprCXX and ↵ | Anders Carlsson | 2009-11-24 | 1 | -0/+525 |
CGTemporaries. llvm-svn: 89742 |