History log of /external/clang/test/SemaCXX/class-layout.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
654005265b1faab223f055bff3dd254476df7ff5 20-Jul-2013 Eli Friedman <eli.friedman@gmail.com> Fix bug in computing POD-for-layout.

A class with a field of non-POD-for-layout type is not POD-for-layout.
This computation should not depend on whether the field is of POD type
in the language sense.

Fixes PR16537.

Patch by Josh Magee.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
8e8fb3be5bd78f0564444eca02b404566a5f3b5d 19-Oct-2012 Andy Gibbs <andyg1001@hotmail.co.uk> Prior to adding the new "expected-no-diagnostics" directive to 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
/external/clang/test/SemaCXX/class-layout.cpp
83a45e7dab892e9efd3515eca4eb5b81bc3f2126 30-May-2010 Anders Carlsson <andersca@mac.com> Turn on the new empty base subobject tracking code. It's a bit faster than the previous code. However, it still has quadratic performance, something which I intend to fix shortly in a subsequent patch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
3cd09ccbb1a750a7b40593a7b0a2d95ee2a0ba0e 29-May-2010 Anders Carlsson <andersca@mac.com> Rework the way virtual primary bases are added when laying out classes. Instead of doing it as a separate step, we now use the BaseSubobjectInfo and use it when laying out the bases. This fixes a bug where we would either not add a primary virtual base at all, or add it at the wrong offset.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105110 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
0b4c9b5834a0a5520d2cd32227a53cf7f73fedca 29-Mar-2010 Douglas Gregor <dgregor@apple.com> Support __attribute__((packed)) (along with other attributes) at the
end of a struct/class/union in C++, from Justin Bogner!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
a5728872c7702ddd09537c95bc3cbd20e1f2fb09 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- 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
/external/clang/test/SemaCXX/class-layout.cpp
e4fc0d97420e13d13c9664a3c27c17aa7c1e47b9 22-Nov-2009 Anders Carlsson <andersca@mac.com> When laying out bitfields, make sure that the data size is always aligned to a byte. This fixes PR5580.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
b237fd6f36145c023ed12fe83f21727cbe197158 17-Sep-2009 Anders Carlsson <andersca@mac.com> Temporary band-aid for handling empty classes somewhat better.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82124 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
227aad58cc46c15dfc3fee2244d4a56d8c003d8f 28-Jul-2009 Anders Carlsson <andersca@mac.com> Add two more tests.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77330 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp
74cbe226207fd101623638dadfa7fbada04ff2a6 19-Jul-2009 Anders Carlsson <andersca@mac.com> Handle layout of non-virtual base classes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76348 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/class-layout.cpp