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

Nico Weber thakis at chromium.org
Mon May 7 07:06:49 PDT 2012


Looks fine as far as I can tell. Should we support __builtin_alignof in ms
mode as well?

On Mon, May 7, 2012 at 4:29 AM, Will Wilson <will at indefiant.com> wrote:

> Any comments/complaints on this? Hopefully it falls into the easy win
> category...
>
> On 3 May 2012 14:08, William Wilson <will at indefiant.com> wrote:
> > 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.
>
>
>
> --
> Indefiant Ltd.
>
> Firsby Lodge, New Main Road, Scamblesby, Louth, Lincs LN11 9XH UK
> Tel: +44 20 8123 7663 England Registered No. 07936820 VAT No. 128556202
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120507/171255c1/attachment.html>


More information about the cfe-commits mailing list