commit | 8b8913084da510c30a86dc9e4edade579c5abb4c | [log] [tgz] |
---|---|---|
author | Shoaib Meenai <smeenai@fb.com> | Mon Sep 12 21:41:12 2016 +0000 |
committer | Shoaib Meenai <smeenai@fb.com> | Mon Sep 12 21:41:12 2016 +0000 |
tree | 98781f7fe45316925a30b1f4f76b0f756200942b | |
parent | b6b8e1ef3a489156192699d367be0e8f5c3439ee [diff] |
config: Use _LIBCPP_TYPE_VIS_ONLY with enum class An enum class has associated type info. In the Microsoft ABI, type info is emitted in the COMDAT section and isn't exported, so clang rightfully complains about __declspec(dllexport) being unused for an enum class. On other platforms, we still want to export the type info. Differential Revision: https://reviews.llvm.org/D24065 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281264 91177308-0d34-0410-b5e6-96231b3b80d8