summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXXClass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the ugly CGCXX names and replace them with CGClass, CGExprCXX and ↵Anders Carlsson2009-11-241-239/+0
| | | | | | CGTemporaries. llvm-svn: 89742
* Handle base-to-derived casts. Will land test case shortly.Anders Carlsson2009-11-231-16/+76
| | | | llvm-svn: 89678
* This falls into the category of stupid pet tricks. I hate to do this,Mike Stump2009-11-131-0/+3
| | | | | | | | but this is necessary to continue work on virtual vtables. We don't want to penalize virtual table building testcases, just because complex virtual conversions don't yet work. llvm-svn: 88676
* Revert r86741; it doesn't handle virtual bases correctly.Eli Friedman2009-11-101-11/+9
| | | | llvm-svn: 86745
* Minor optimization to skip null check in generated code where it isn'tEli Friedman2009-11-101-9/+11
| | | | | | necessary. llvm-svn: 86741
* Simplify pointer creation with the new Type::getInt*Ptr methods.Benjamin Kramer2009-10-131-2/+1
| | | | llvm-svn: 83964
* Change GetAddressCXXOfBaseClass to use CXXBasePaths for calculating base ↵Anders Carlsson2009-10-061-58/+84
| | | | | | class offsets. Fix the code to handle virtual bases as well. llvm-svn: 83426
* Move some functions from CodeGenFunctions to CodeGenModule so they can be ↵Anders Carlsson2009-10-031-4/+5
| | | | | | used by CGExprConstant. llvm-svn: 83263
* Handle CK_BaseToDerivedMemberPointer for member function pointers. Fixes PR5091.Anders Carlsson2009-09-291-10/+23
| | | | llvm-svn: 83041
* When doing a derived-to-base class and the class offset is 0 we can just do ↵Anders Carlsson2009-09-221-7/+10
| | | | | | a simple bitcast. llvm-svn: 82579
* When necessary, null check the base value in GetAddressCXXOfBaseClass.Anders Carlsson2009-09-121-0/+30
| | | | llvm-svn: 81611
* Whoops, add CGCXXClass.cppAnders Carlsson2009-09-121-0/+104
llvm-svn: 81607
OpenPOWER on IntegriCloud