]> granicus.if.org Git - clang/commit
Rewrite struct/union layout. This is mostly cleanup; this might also fix
authorEli Friedman <eli.friedman@gmail.com>
Tue, 27 May 2008 03:14:44 +0000 (03:14 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 27 May 2008 03:14:44 +0000 (03:14 +0000)
commitcbadaf6ced6d664015ee409f62ab1bc20ae0bf73
tree59e6ed10c80848d8ad21f8829113910987d40d90
parentb26153c2b06934b6d39886cae2a379988d9c3e2b
Rewrite struct/union layout. This is mostly cleanup; this might also fix
a few bugs, but I don't know of any in particular. This has good effects
besides cleanup, though: it also should make it easier to implement the
aligned and packed attributes, and also target-specific struct layouts,
because the code won't have to be duplicated in codegen.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenTypes.cpp