[cfe-commits] [PATCH] Allow __builtin_bswap32/64 in constant expressions like gcc

Richard Smith richard at metafoo.co.uk
Wed Sep 26 12:58:22 PDT 2012


The patch looks fine, but please add a testcase.

On Wed, Sep 26, 2012 at 12:14 PM, Tijl Coosemans <tijl at coosemans.org> wrote:

> Hi,
>
> The attached patch makes __builtin_bswap32 and __builtin_bswap64
> usable in constant expressions like gcc.
>
> This is my first look at clang code so perhaps review it more
> thoroughly than usual.
>
> _______________________________________________
> 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/20120926/168c36b5/attachment.html>


More information about the cfe-commits mailing list