[libcxx-commits] [PATCH] D143451: [libc++] Add missing _LIBCPP_HIDE_FROM_ABI

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 6 19:00:53 PST 2023


ldionne updated this revision to Diff 495348.
ldionne added a comment.

Rebase -- CI should be back


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143451/new/

https://reviews.llvm.org/D143451

Files:
  libcxx/include/string


Index: libcxx/include/string
===================================================================
--- libcxx/include/string
+++ libcxx/include/string
@@ -4447,8 +4447,8 @@
 template <class _CharT, class _Allocator>
 struct __string_hash : public __unary_function<basic_string<_CharT, char_traits<_CharT>, _Allocator>, size_t>
 {
-    size_t
-    operator()(const basic_string<_CharT, char_traits<_CharT>, _Allocator>& __val) const _NOEXCEPT
+    _LIBCPP_HIDE_FROM_ABI
+    size_t operator()(const basic_string<_CharT, char_traits<_CharT>, _Allocator>& __val) const _NOEXCEPT
     { return std::__do_string_hash(__val.data(), __val.data() + __val.size()); }
 };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143451.495348.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230207/d36d79da/attachment.bin>


More information about the libcxx-commits mailing list