aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-15 06:18:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-15 06:18:39 +0000
commit3d9289c736f503d156666ad82c91b9c1df91da7e (patch)
tree7bfa640d79606daccb395c3d3e679adc2d398153 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent3245afdf05234f72721d95fd0cde097255d6814f (diff)
downloadllvm-3d9289c736f503d156666ad82c91b9c1df91da7e.zip
llvm-3d9289c736f503d156666ad82c91b9c1df91da7e.tar.gz
llvm-3d9289c736f503d156666ad82c91b9c1df91da7e.tar.bz2
Add TargetInfo::useBitfieldTypeAlignment().
- Used to determine whether the alignment of the type in a bit-field is respected when laying out structures. The default is true, targets can override this as needed. - This is designed to correspond to the PCC_BITFIELD_TYPE_MATTERS macro in gcc. The AST/Sema implementation only affects one line, unless I have forgotten something. I'd appreciate further review. - IRgen still needs to be updated to fully support this (which is effectively PR5591). llvm-svn: 101356
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions