[cfe-commits] [PATCH] Supporting __declspec(align)

Aaron Ballman aaron at aaronballman.com
Mon Jun 4 13:17:16 PDT 2012


This patch is to fix PR12631, and basically just turns on existing
functionality.  __declspec(align)'s behavior (documented on MSDN here:
<http://msdn.microsoft.com/en-us/library/83ythb65(v=vs.100).aspx>)
matches what we already support for __attribute__((aligned)).  I've
also included a test case to ensure the behavior matches expectations.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: declspec_align.patch
Type: application/octet-stream
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120604/26956263/attachment.obj>


More information about the cfe-commits mailing list