summaryrefslogtreecommitdiff
path: root/test/SemaCXX/empty-class-layout.cpp
Commit message (Collapse)AuthorAge
* Don't use dyn_cast on a Type* which might not be canonical. Fixes an ↵Richard Smith2012-12-06
| | | | | | extremely obscure record layout bug. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169467 91177308-0d34-0410-b5e6-96231b3b80d8
* Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs2012-10-19
| | | | | | VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166280 91177308-0d34-0410-b5e6-96231b3b80d8
* Recommit r148056 with fixes to deal with weirdness with bitfields in unions.Eli Friedman2012-01-12
| | | | | | | | Original message: Make sure adding a field to a struct never reduces its size. PR11745. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148070 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r148056 while I investigate failures.Eli Friedman2012-01-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148068 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure adding a field to a struct never reduces its size. PR11745.Eli Friedman2012-01-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148056 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly handle fields with virtual bases containing empty subobjects.Anders Carlsson2010-06-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105628 91177308-0d34-0410-b5e6-96231b3b80d8
* Another empty class layout test.Anders Carlsson2010-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104839 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more empty class layout tests.Anders Carlsson2010-05-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104838 91177308-0d34-0410-b5e6-96231b3b80d8
* When recording empty subobjects we should always look at the primary virtual ↵Anders Carlsson2010-05-23
| | | | | | base. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104464 91177308-0d34-0410-b5e6-96231b3b80d8
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-15
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
* Start at NextOffset when laying out bases as well.Anders Carlsson2009-09-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82831 91177308-0d34-0410-b5e6-96231b3b80d8
* Use NextOffset when laying out a field.Anders Carlsson2009-09-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82828 91177308-0d34-0410-b5e6-96231b3b80d8
* Even more work on empty classes.Anders Carlsson2009-09-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82770 91177308-0d34-0410-b5e6-96231b3b80d8
* Who would have thought that empty classes were so tricky? Handle cases where ↵Anders Carlsson2009-09-25
| | | | | | an empty virtual base class needs to be moved aside because it conflicts with the first field. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82746 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle array fields that contain empty structs.Anders Carlsson2009-09-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82744 91177308-0d34-0410-b5e6-96231b3b80d8
* More work on empty classes.Anders Carlsson2009-09-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82736 91177308-0d34-0410-b5e6-96231b3b80d8
* More improvements with laying out empty bases.Anders Carlsson2009-09-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82682 91177308-0d34-0410-b5e6-96231b3b80d8
* More work on empty classes.Anders Carlsson2009-09-24
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82679 91177308-0d34-0410-b5e6-96231b3b80d8