David Nadlinger 26e4f91cdc Respect struct packing when generating struct initializers.
Fixes issue #88.

Previously, invalid code would be generated in cases like the following:
---
align(1) struct Test {
    string str;
    int id;
}

Test test = {"asdf", 4};
---
2012-03-16 23:29:10 +01:00
2012-01-20 19:19:04 +01:00
2011-09-13 21:01:38 +04:00
2012-03-15 07:11:54 +01:00
2012-03-15 07:11:54 +01:00
2012-03-14 18:50:33 +01:00
2011-02-20 19:00:52 +03:00
2012-02-04 20:36:59 +01:00
2009-04-15 20:06:25 +02:00
2009-03-01 22:40:15 +01:00
2012-02-14 00:03:52 +01:00
2010-10-23 21:08:11 +02:00

LLVM D Compiler (LDC)

This compiler is based on the Digital Mars D (DMD) compiler frontend, and
the LLVM compiler toolkit. See LICENSE for licensing information.

For more information, including build instructions, visit the LDC website:

http://www.dsource.org/projects/ldc
Description
The LLVM-based D compiler.
Readme Multiple Licenses 14 MiB
Languages
C 75.2%
C++ 23.2%
D 0.7%
CMake 0.6%
Shell 0.2%