[PATCH] D24065: [libc++] Use _LIBCPP_TYPE_VIS_ONLY with enum class

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 12 14:49:47 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL281264: config: Use _LIBCPP_TYPE_VIS_ONLY with enum class (authored by smeenai).

Changed prior to commit:
  https://reviews.llvm.org/D24065?vs=70087&id=71059#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24065

Files:
  libcxx/trunk/include/__config

Index: libcxx/trunk/include/__config
===================================================================
--- libcxx/trunk/include/__config
+++ libcxx/trunk/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 _LIBCPP_TYPE_VIS_ONLY x
 #define _LIBCPP_DECLARE_STRONG_ENUM_EPILOG(x)
 #endif  // _LIBCPP_HAS_NO_STRONG_ENUMS
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24065.71059.patch
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160912/88243c69/attachment.bin>


More information about the cfe-commits mailing list