summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of uninitized variable.Fariborz Jahanian2009-08-082-6/+3
| | | | llvm-svn: 78448
* Synthesize copying of non-static data members withFariborz Jahanian2009-08-081-12/+32
| | | | | | non-trivial copy constructors. llvm-svn: 78445
* Synthesized copy constructor now generates code forFariborz Jahanian2009-08-073-18/+55
| | | | | | | copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
* Add a CK_ArrayToPointerDecay cast kind.Anders Carlsson2009-08-071-0/+1
| | | | llvm-svn: 78434
* Add CK_ToUnion and use it for aggregate expression codegen.Anders Carlsson2009-08-071-9/+8
| | | | llvm-svn: 78429
* Add vbase offsets to the vtable. Wow, having an rbegin was soMike Stump2009-08-071-0/+12
| | | | | | fortuitous. WIP. llvm-svn: 78413
* More synthesis of copy constructors. Work in progress.Fariborz Jahanian2009-08-075-4/+94
| | | | llvm-svn: 78402
* Fix typo.Mike Stump2009-08-071-1/+1
| | | | llvm-svn: 78401
* Add ability to generate vcall offsets for primary virtual base.Mike Stump2009-08-071-1/+3
| | | | llvm-svn: 78396
* Fix some const_cast issues. This is the beginning of the rabbit hole.Mike Stump2009-08-072-10/+5
| | | | llvm-svn: 78393
* Add support for vcall generation for vtables for virtual bases. WIP.Mike Stump2009-08-062-5/+26
| | | | llvm-svn: 78357
* Patch toward synthesizing copy constructors.Fariborz Jahanian2009-08-062-8/+21
| | | | | | Work in progress. llvm-svn: 78355
* Also generate the rtti field for virtual bases for vtables. Turn onMike Stump2009-08-062-30/+44
| | | | | | | rtti so we can properly test it. Refactor code a little. Still a work in progress. llvm-svn: 78343
* Set and use Elidable in elimination of copy ctors.Fariborz Jahanian2009-08-061-9/+3
| | | | llvm-svn: 78331
* Layout the primary base first in the vtable.Mike Stump2009-08-061-21/+14
| | | | llvm-svn: 78327
* More layout for virtual tables for virtual bases. Still in progress.Mike Stump2009-08-062-9/+28
| | | | llvm-svn: 78314
* Layout virtual bases. Work in progress.Mike Stump2009-08-061-3/+1
| | | | llvm-svn: 78308
* Fix clang breakage, CGF can be null in this context.Daniel Dunbar2009-08-061-1/+1
| | | | llvm-svn: 78269
* Patch to optimize away copy constructor call whenFariborz Jahanian2009-08-061-1/+14
| | | | | | appropriate. llvm-svn: 78267
* Update for LLVM API change.Owen Anderson2009-08-0515-88/+113
| | | | llvm-svn: 78259
* Refactor some bits.Mike Stump2009-08-051-1/+1
| | | | llvm-svn: 78254
* Calculate the primary base class better and use that when laying downMike Stump2009-08-051-11/+36
| | | | | | the vtable. Still a work in progress. llvm-svn: 78252
* cgobjcgnu was making invalid common globals.Chris Lattner2009-08-051-2/+2
| | | | llvm-svn: 78161
* weak globals that are const should get weak_odr linkage.Chris Lattner2009-08-051-6/+19
| | | | | | add a fixme about C++ const. llvm-svn: 78159
* rdar://7119244 - globals with an explicit section specified don't getChris Lattner2009-08-051-1/+2
| | | | | | common linkage. llvm-svn: 78158
* vtable building for simple inheritance. Still in progress.Mike Stump2009-08-041-1/+18
| | | | llvm-svn: 78110
* Will I ever get used to CamelCase? Will I ever like capitols forMike Stump2009-08-041-7/+5
| | | | | | | | | random variables? --This line, and those below, will be ignored-- M lib/CodeGen/CGCXX.cpp llvm-svn: 78094
* Revert the fix for PR3800, it broke things.Anders Carlsson2009-08-041-2/+5
| | | | llvm-svn: 78084
* Simplify alignment handling in the record builder.Anders Carlsson2009-08-041-12/+18
| | | | llvm-svn: 78069
* Make sure UTF-16 strings end with a 16-bit null (as opposed to 8-bit).Daniel Dunbar2009-08-031-0/+3
| | | | llvm-svn: 78001
* When generating cleanup blocks for Obj-C @finally, mark them as catch all blocksDaniel Dunbar2009-08-031-1/+4
| | | | | | | | from the perspective of LLVM exception handling. Otherwise the C++ personality function may decide not to run them, if it only detects cleanup handlers. - Test case for this is exceptions.m in llvm-test. llvm-svn: 77999
* assert(nyi) on attempt to destruct an array of objects.Fariborz Jahanian2009-08-031-2/+6
| | | | llvm-svn: 77993
* ir-gen for destructor calls.Fariborz Jahanian2009-08-031-0/+12
| | | | llvm-svn: 77991
* Formatting fixes (trailing whitespace, 80-cols, indentation).Daniel Dunbar2009-08-031-1081/+1088
| | | | llvm-svn: 77972
* Whoops, meant to delete this.Anders Carlsson2009-08-021-1/+0
| | | | llvm-svn: 77916
* use CodeGenModule::EmitNullConstant in a couple of places.Anders Carlsson2009-08-023-4/+4
| | | | llvm-svn: 77915
* Remove old code that was causing the new test to fail.Anders Carlsson2009-08-021-3/+0
| | | | llvm-svn: 77862
* Don't evaluate inout constraints twice. Fixes PR3800.Anders Carlsson2009-08-021-2/+2
| | | | llvm-svn: 77854
* Use Twine instead of utostrDaniel Dunbar2009-08-021-1/+1
| | | | llvm-svn: 77848
* Fix a minor issue with unions in the new struct building code.Eli Friedman2009-08-011-2/+5
| | | | llvm-svn: 77829
* Don't error on C++ linkage; if we don't support that, there are Eli Friedman2009-08-011-1/+2
| | | | | | serious issues :) llvm-svn: 77800
* Add beginnigs of rtti generation, wire up more of -fno-exceptions.Mike Stump2009-07-314-5/+53
| | | | llvm-svn: 77751
* Remove the old struct builder code.Anders Carlsson2009-07-311-177/+1
| | | | llvm-svn: 77738
* And now we can generate a simple vtable. Still a work in progress...Mike Stump2009-07-311-11/+23
| | | | llvm-svn: 77737
* Move code from EmitUnion directly into the function that handles cast-to-union.Anders Carlsson2009-07-311-2/+28
| | | | llvm-svn: 77735
* Use the struct builder for unions.Anders Carlsson2009-07-311-0/+2
| | | | llvm-svn: 77732
* Fixup spacing and 80-col violations.Mike Stump2009-07-311-20/+27
| | | | llvm-svn: 77731
* Update for LLVM API change.Owen Anderson2009-07-3114-84/+84
| | | | llvm-svn: 77722
* Add code to setup the vtable pointer in the constructor. Work in progress.Mike Stump2009-07-315-11/+72
| | | | llvm-svn: 77699
* Fix spacing.Mike Stump2009-07-311-1/+1
| | | | llvm-svn: 77688
OpenPOWER on IntegriCloud