History log of /external/clang/test/CodeGen/struct.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f0a8679b6e6635117533b89894646f1450cea25b 10-Jul-2011 Chris Lattner <sabre@nondot.org> Fix the clang bootstrap and Jay's testcase from llvm-dev by being completely
conservative when converting a functiontype to IR when in a "pointer within
a struct" context. This has the unfortunate sideeffect of compiling all
function pointers inside of structs into "{}*" which, though correct, is
ugly. This has the positive side effect of being correct, and it is pretty
straight-forward to improve on this.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
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/CodeGen/struct.c
1eb4433ac451dc16f4133a88af2d002ac26c58ef 09-Sep-2009 Mike Stump <mrs@apple.com> Remove tabs, and whitespace cleanups.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 24-Mar-2009 Daniel Dunbar <daniel@zuster.org> Rename clang to clang-cc.

Tests and drivers updated, still need to shuffle dirs.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
4dc346e8dc42f28d8add2277198ed934301bf806 12-Feb-2009 Daniel Dunbar <daniel@zuster.org> Test case for emitting va_arg as l-value; apparently I only *thought* I had committed this.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
292d4f9a1aaa37ad052ed50896c803fa3a98f77c 04-Feb-2009 Daniel Dunbar <daniel@zuster.org> Force -triple/-fnext-runtime for a few more test cases.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
c8e9cd6e32b8987b3c8f2dea1404d8a94768a707 27-Jan-2009 Chris Lattner <sabre@nondot.org> eliminate some random .ll file outputs


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
80e62c29fe21cd06c93eba6e72b7e32dca06fcf9 04-Sep-2008 Daniel Dunbar <daniel@zuster.org> Implement codegen of aggregates as lvalues in binary expressions,
e.g. "(a = b).somefield".


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
2d6ca8d0f699647364e983bd254a3d8ad422efda 21-Aug-2008 Daniel Dunbar <daniel@zuster.org> Update a number of CodeGen tests to not create .ll files in the test
directory.
- Removed .ll from the svn:ignore lists to try and prevent this.
- Added svn:ignore on test/Misc/Output


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55104 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
0408f6805c164f317937e97d7bc222781164bfeb 29-May-2008 Eli Friedman <eli.friedman@gmail.com> Always use packed structs. This isn't really very nice, but there's
nothing fundamentally wrong with it. Emitting unpacked structs where
possible is more work for almost no practical benefit. We'll probably
want to fix it at some point anyway, but it's low priority.

The issue with long double in particular is that LLVM thinks an X86 long
double is 10 bytes, while clang considers it for all purposes to be
either 12 or 16 bytes, depending on the platform, even in a packed
struct.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51673 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
2fb86e61e3d8c39f7981d0270278541fb7cad255 28-May-2008 Devang Patel <dpatel@apple.com> Check first member alignment and uses packed struct if required.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
bf20b68e925f2b0e87eff0da49dae8a4dbc0fac7 28-May-2008 Devang Patel <dpatel@apple.com> Fix test case


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
b1851249d787f573b9e1312fff8ca4bbcf351f10 27-May-2008 Eli Friedman <eli.friedman@gmail.com> A few more cases for aggregate values.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51596 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
75afb585496b8c521672a6a91b8dd1838d36185a 06-Feb-2008 Eli Friedman <eli.friedman@gmail.com> Fix the codegen of structs with flexible array members.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
eae1560d4fb99b9df814bc12c0419825996156cd 05-Feb-2008 Devang Patel <dpatel@apple.com> Cleanup InitListExpr code generation code.
Handle padding fields while initializing struct (fix PR 1962)



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46736 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
47fb6977509a285501d02611845e9f8e081a15e1 30-Jan-2008 Devang Patel <dpatel@apple.com> Handle incomplete struct initializer.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
a46b759d55ca607ef9bb09dd3a089418bb6ee44c 18-Jan-2008 Anders Carlsson <andersca@mac.com> Assert that the type of the cast is equal to the _unqualified_ type of the subexpression. Fixes a problem spotted by Nuno Lopes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46158 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
e4707ff0bb48add651c6a1ad9acfcb22609462d1 14-Jan-2008 Anders Carlsson <andersca@mac.com> Add codegen upport for implicit casts to aggregate exprs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45954 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
9b73b39f6fbf987acbbe6570d557d13f07c7e0f7 14-Dec-2007 Seo Sanghyeon <sanxiyn@gmail.com> Array subscription in aggregate expression

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
7777bb263f215c5251bd354ed82ff1dbe9153336 14-Dec-2007 Seo Sanghyeon <sanxiyn@gmail.com> Implement dereference operator in aggregate expression

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
14c7500b8ca27fba362a98cd5e2441be9016109d 10-Dec-2007 Devang Patel <dpatel@apple.com> Use getABITypeSizeInBits() instead of getTypeSizeInBits() during struct layout.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
a1ff3e9290943fef18b0a1e9888854c8fd0ba5a4 02-Nov-2007 Anders Carlsson <andersca@mac.com> Generate code for member exprs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
148fe6772733166c720e28b7bb5084af6e624b44 31-Oct-2007 Anders Carlsson <andersca@mac.com> Handle function calls that return aggregate expressions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43581 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
0a96118bb8cec6224aef53f001a0a4f87a7be8fb 26-Oct-2007 Devang Patel <dpatel@apple.com> Handle non LValue base expressions.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
126a856ecdb6f9285a7858fa5437949a4fd192ab 25-Oct-2007 Devang Patel <dpatel@apple.com> Handle
foo()->a = 42;



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
dbb46b1985dfd2c7477446f11f8cf6e79cbe5b57 24-Oct-2007 Devang Patel <dpatel@apple.com> Fix typo.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
b1e3989731b69e692f9fa2ad080406850c772b40 24-Oct-2007 Devang Patel <dpatel@apple.com> Handle nested structs.
typdef struct A { int i; struct A *next; } A


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43268 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c
b9b00ad6260b17c18195ff4a54c8b3abbf33fcc9 23-Oct-2007 Devang Patel <dpatel@apple.com> Handle simple struct member expr.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43258 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/struct.c