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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits