From: Louis Dionne Date: Fri, 21 Dec 2018 20:14:43 +0000 (+0000) Subject: [libcxx] Remove unused macro _LIBCPP_HAS_UNIQUE_TYPEINFO X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f3561c29232cbd3fa73afdddce7d5c89c41484b;p=platform%2Fupstream%2Fllvm.git [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 llvm-svn: 349947 --- diff --git a/libcxx/include/typeinfo b/libcxx/include/typeinfo index 92f1e22..8411532 100644 --- a/libcxx/include/typeinfo +++ b/libcxx/include/typeinfo @@ -73,12 +73,8 @@ public: #include #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