summaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-12-21 20:14:43 +0000
committerLouis Dionne <ldionne@apple.com>2018-12-21 20:14:43 +0000
commit5dc4463530c8a9ebec3be0cb99831db6351ab210 (patch)
treec44edf17c3eebfef933a2e23f437ab85a6184843 /libcxx
parent54f11f7c8861ed10d9a1e8875d8b2291eee916a1 (diff)
[libcxx] Remove unused macro _LIBCPP_HAS_UNIQUE_TYPEINFO
Summary: We already have the negation of that as _LIBCPP_HAS_NONUNIQUE_TYPEINFO. Having both defined is confusing, since only one of them is used. Reviewers: EricWF, mclow.lists Subscribers: christof, jkorous, dexonsmith, libcxx-commits Differential Revision: https://reviews.llvm.org/D54537
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/typeinfo8
1 files changed, 2 insertions, 6 deletions
diff --git a/libcxx/include/typeinfo b/libcxx/include/typeinfo
index 92f1e225564..8411532860b 100644
--- a/libcxx/include/typeinfo
+++ b/libcxx/include/typeinfo
@@ -73,12 +73,8 @@ public:
#include <vcruntime_typeinfo.h>
#else
-#if !defined(_LIBCPP_ABI_MICROSOFT)
-#if defined(_LIBCPP_NONUNIQUE_RTTI_BIT)
-#define _LIBCPP_HAS_NONUNIQUE_TYPEINFO
-#else
-#define _LIBCPP_HAS_UNIQUE_TYPEINFO
-#endif
+#if defined(_LIBCPP_NONUNIQUE_RTTI_BIT) && !defined(_LIBCPP_ABI_MICROSOFT)
+# define _LIBCPP_HAS_NONUNIQUE_TYPEINFO
#endif
namespace std // purposefully not using versioning namespace