https://bugs.llvm.org/show_bug.cgi?id=37864

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <[email protected]> ---
This code is ill-formed. alignas cannot be applied to a typedef.

We do permit __attribute__((aligned(N))) to be applied to a typedef, with the
restriction described in this error message. This is a compiler extension, and
GCC and Clang happen to (intentionally, on our part) have slightly different
extensions here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to