[PATCH] D24065: [libc++] Don't attempt to dllexport enum class

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 22:04:42 PDT 2016


smeenai updated this revision to Diff 69797.
smeenai updated the summary for this revision.
smeenai added a comment.

Removing export entirely, per compnerd's suggestion


https://reviews.llvm.org/D24065

Files:
  include/__config

Index: include/__config
===================================================================
--- include/__config
+++ include/__config
@@ -716,7 +716,7 @@
     _LIBCPP_ALWAYS_INLINE operator int() const {return __v_;} \
     };
 #else  // _LIBCPP_HAS_NO_STRONG_ENUMS
-#define _LIBCPP_DECLARE_STRONG_ENUM(x) enum class _LIBCPP_TYPE_VIS x
+#define _LIBCPP_DECLARE_STRONG_ENUM(x) enum class x
 #define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x)
 #endif  // _LIBCPP_HAS_NO_STRONG_ENUMS
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24065.69797.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160831/5039e7eb/attachment.bin>


More information about the cfe-commits mailing list