[PATCH] D17444: PR26672: [MSVC] Clang does not recognize "static_assert" keyword in C mode

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 19 13:17:30 PST 2016


On Fri, Feb 19, 2016 at 4:14 PM, Richard Smith via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> rsmith added a subscriber: rsmith.
> rsmith added a comment.
>
> Do they treat this as a keyword or as a predefined macro? (Does `#ifdef` think `static_assert` is defined?)

It seems to be treated as a keyword instead of a predefined macro.

~Aaron

>
>
> http://reviews.llvm.org/D17444
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list