Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Account for the VTT argument when making an implicit copy constructor for | John McCall | 2010-04-30 | 1 | -0/+12 |
| | | | | | | | | | a class with virtual bases. Just a patch until Sema starts (correctly) doing most of this analysis. Fixes PR 6622. llvm-svn: 102692 | ||||
* | Turn access control on by default in -cc1. | John McCall | 2010-04-09 | 1 | -1/+1 |
| | | | | | | | | Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880 | ||||
* | Perform two more constructor/destructor code-size optimizations: | John McCall | 2010-02-23 | 1 | -0/+94 |
1) emit base destructors as aliases to their unique base class destructors under some careful conditions. This is enabled for the same targets that can support complete-to-base aliases, i.e. not darwin. 2) Emit non-variadic complete constructors for classes with no virtual bases as calls to the base constructor. This is enabled on all targets and in theory can trigger in situations that the alias optimization can't (mostly involving virtual bases, mostly not yet supported). These are bundled together because I didn't think it worthwhile to split them, not because they really need to be. llvm-svn: 96842 |