[PATCH] D32092: Attribute inline

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 14 12:38:12 PDT 2017


aaron.ballman added a comment.

In https://reviews.llvm.org/D32092#727518, @zahiraam wrote:

> Forgot to mention that this is for C only. CL doesn't compile this declaration in a C++ context.
>  Please see:
>  https://godbolt.org/g/WRhyjL


Oh, that's fun.

It's not at all clear that this isn't simply an MSVC bug. Can you work around this in your project rather than introduce an undocumented MSVC attribute?


https://reviews.llvm.org/D32092





More information about the cfe-commits mailing list