[PATCH] D33852: Enable __declspec(selectany) on linux

Martell Malone via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 3 15:30:35 PDT 2017


martell added a comment.

@Prazek it wasn't disabled by mistake.
This was a MS extension and it appeared as though the test case should have been for windows.
I updated it and made the extension available to windows only. (MSVC, Cygwin, Mingw etc)
It didn't expect anyone would want a MS extension for a linux target.

I don't think it is unreasonable to have support for this though. 
Adding @rnk here as he may have some comments.


https://reviews.llvm.org/D33852





More information about the cfe-commits mailing list