[cfe-commits] [PATCH] Microsoft extension: "_alignof" alias for "__alignof"

William Wilson will at indefiant.com
Thu May 3 05:08:20 PDT 2012


Hi All,

Another minor MS compatibility patch. This time I've encountered the
single underscored varient of __alignof that MSVC supports - I've
fixed it by adding a token alias for it.

Test case also included in the patch. All clang tests pass locally.

Cheers,
Will.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _alignof_token_alias_ms_ext.diff
Type: application/octet-stream
Size: 985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120503/09344f24/attachment.obj>


More information about the cfe-commits mailing list