[cfe-commits] patch: add "suitably aligned" value to TargetInfo
Nick Lewycky
nlewycky at google.com
Thu Dec 15 18:49:01 PST 2011
The attached patch adds a method to Basic/TargetInfo to return the suitable
alignment, above which any object is considered over-aligned. This value is
also equal to the amount of alignment you're guaranteed to get out of
malloc and equal to alignof(std::max_align_t).
Please review!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111215/94266c0a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: suitable-align-1.patch
Type: text/x-patch
Size: 4438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111215/94266c0a/attachment.bin>
More information about the cfe-commits
mailing list