summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/struct.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the clang bootstrap and Jay's testcase from llvm-dev by being completelyChris Lattner2011-07-101-0/+13
| | | | | | | | | | 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. llvm-svn: 134861
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - 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). llvm-svn: 91446
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-26/+17
| | | | llvm-svn: 81346
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Test case for emitting va_arg as l-value; apparently I only *thought* I had ↵Daniel Dunbar2009-02-121-0/+1
| | | | | | committed this. llvm-svn: 64368
* Force -triple/-fnext-runtime for a few more test cases.Daniel Dunbar2009-02-031-1/+1
| | | | llvm-svn: 63679
* eliminate some random .ll file outputsChris Lattner2009-01-271-1/+1
| | | | llvm-svn: 63117
* Implement codegen of aggregates as lvalues in binary expressions,Daniel Dunbar2008-09-041-1/+24
| | | | | | e.g. "(a = b).somefield". llvm-svn: 55758
* Update a number of CodeGen tests to not create .ll files in the testDaniel Dunbar2008-08-211-1/+1
| | | | | | | | directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
* Always use packed structs. This isn't really very nice, but there's Eli Friedman2008-05-291-0/+3
| | | | | | | | | | | | | 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. llvm-svn: 51673
* Check first member alignment and uses packed struct if required.Devang Patel2008-05-271-0/+3
| | | | llvm-svn: 51619
* Fix test caseDevang Patel2008-05-271-0/+1
| | | | llvm-svn: 51618
* A few more cases for aggregate values.Eli Friedman2008-05-271-0/+14
| | | | llvm-svn: 51596
* Fix the codegen of structs with flexible array members.Eli Friedman2008-02-061-1/+5
| | | | llvm-svn: 46806
* Cleanup InitListExpr code generation code.Devang Patel2008-02-051-0/+1
| | | | | | Handle padding fields while initializing struct (fix PR 1962) llvm-svn: 46736
* Handle incomplete struct initializer.Devang Patel2008-01-291-1/+5
| | | | llvm-svn: 46534
* Assert that the type of the cast is equal to the _unqualified_ type of the ↵Anders Carlsson2008-01-181-0/+9
| | | | | | subexpression. Fixes a problem spotted by Nuno Lopes. llvm-svn: 46158
* Add codegen upport for implicit casts to aggregate exprs.Anders Carlsson2008-01-141-0/+15
| | | | llvm-svn: 45954
* Array subscription in aggregate expressionSeo Sanghyeon2007-12-141-0/+5
| | | | llvm-svn: 45023
* Implement dereference operator in aggregate expressionSeo Sanghyeon2007-12-141-0/+4
| | | | llvm-svn: 45020
* Use getABITypeSizeInBits() instead of getTypeSizeInBits() during struct layout.Devang Patel2007-12-101-0/+13
| | | | llvm-svn: 44798
* Generate code for member exprs.Anders Carlsson2007-11-021-1/+14
| | | | llvm-svn: 43641
* Handle function calls that return aggregate expressions.Anders Carlsson2007-10-311-0/+14
| | | | llvm-svn: 43581
* Handle non LValue base expressions.Devang Patel2007-10-261-0/+4
| | | | llvm-svn: 43387
* HandleDevang Patel2007-10-241-0/+4
| | | | | | foo()->a = 42; llvm-svn: 43315
* Fix typo.Devang Patel2007-10-231-1/+1
| | | | llvm-svn: 43269
* Handle nested structs.Devang Patel2007-10-231-0/+18
| | | | | | typdef struct A { int i; struct A *next; } A llvm-svn: 43268
* Handle simple struct member expr.Devang Patel2007-10-231-0/+39
llvm-svn: 43258
OpenPOWER on IntegriCloud