summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprCXX.cpp
Commit message (Collapse)AuthorAge
* Correctly pass VTT parameters to constructors and destructors. The VTTs ↵Anders Carlsson2010-01-02
| | | | | | aren't yet used in the ctors/dtors, but that will follow. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92409 91177308-0d34-0410-b5e6-96231b3b80d8
* Move a few more functions away from CGCXX and to CGClass and CGExprCXX.Anders Carlsson2010-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92399 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some dead variables clang-analyzer found.Benjamin Kramer2009-12-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92162 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass the return value slot to all call exprs.Anders Carlsson2009-12-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92145 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass ReturnValueSlot to EmitCall. No functionality change yet.Anders Carlsson2009-12-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92138 91177308-0d34-0410-b5e6-96231b3b80d8
* There is no such thing as typeinfo for a cv-qualified type. AssertDouglas Gregor2009-12-23
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92064 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix regression I introduced when dynamic_cast-ing to a reference type.Anders Carlsson2009-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91687 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename GetAddrOfRTTI to GetAddrOfRTTIDescriptor. Remove the overload that ↵Anders Carlsson2009-12-17
| | | | | | takes a CXXRecordDecl since we were just creating a QualType from it anyway. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91590 91177308-0d34-0410-b5e6-96231b3b80d8
* Use GetAddrOfRTTI everywhere and remove GenerateRTTI and GenerateRTTIRef. ↵Anders Carlsson2009-12-16
| | | | | | With this change, we can now compile and link TableGen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91520 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use a cookie if the global placement new function is used.Anders Carlsson2009-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91251 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix regression in my last commit - if a struct has a trivial destructor but ↵Anders Carlsson2009-12-13
| | | | | | no usual deallocation function we don't need a cookie. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91249 91177308-0d34-0410-b5e6-96231b3b80d8
* More array cookie improvements.Anders Carlsson2009-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91247 91177308-0d34-0410-b5e6-96231b3b80d8
* If the usual array deallocation function of a class takes two arguments, we ↵Anders Carlsson2009-12-13
| | | | | | need to pass the number of bytes allocated to the deallocation function, just not the number of bytes in a single element. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91246 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve linkage of RTTI data structures. Introduce ↵Anders Carlsson2009-12-11
| | | | | | 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). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91098 91177308-0d34-0410-b5e6-96231b3b80d8
* Change rtti/Rtti to RTTI, as it is an acronym.Mike Stump2009-12-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90334 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle cases where we're constructing an array of objects and the ↵Anders Carlsson2009-11-24
| | | | | | constructor has default arguments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89783 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the ugly CGCXX names and replace them with CGClass, CGExprCXX and ↵Anders Carlsson2009-11-24
CGTemporaries. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89742 91177308-0d34-0410-b5e6-96231b3b80d8