[libcxx] r313345 - [libc++] Remove unnecessary struct tag

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 23:19:31 PDT 2017


Author: smeenai
Date: Thu Sep 14 23:19:31 2017
New Revision: 313345

URL: http://llvm.org/viewvc/llvm-project?rev=313345&view=rev
Log:
[libc++] Remove unnecessary struct tag

It causes warnings about mismatched tags, and it's not needed.

Modified:
    libcxx/trunk/include/typeinfo

Modified: libcxx/trunk/include/typeinfo
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/typeinfo?rev=313345&r1=313344&r2=313345&view=diff
==============================================================================
--- libcxx/trunk/include/typeinfo (original)
+++ libcxx/trunk/include/typeinfo Thu Sep 14 23:19:31 2017
@@ -97,7 +97,7 @@ class _LIBCPP_EXCEPTION_ABI type_info
       const char __decorated_name[1];
     } __data;
 
-    int __compare(const struct type_info &__rhs) const _NOEXCEPT;
+    int __compare(const type_info &__rhs) const _NOEXCEPT;
 #endif // _LIBCPP_ABI_MICROSOFT
 
 protected:




More information about the cfe-commits mailing list