[PATCH] D59550: [libc++] Mark internal types of std::filesystem as hidden

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 10:47:39 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL356488: [libc++] Mark internal types of std::filesystem as hidden (authored by ldionne, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D59550?vs=191327&id=191351#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D59550

Files:
  libcxx/trunk/include/filesystem


Index: libcxx/trunk/include/filesystem
===================================================================
--- libcxx/trunk/include/filesystem
+++ libcxx/trunk/include/filesystem
@@ -1350,7 +1350,7 @@
   void __create_what(int __num_paths);
 
 private:
-  struct _Storage {
+  struct _LIBCPP_HIDDEN _Storage {
     _LIBCPP_INLINE_VISIBILITY
     _Storage(const path& __p1, const path& __p2) : __p1_(__p1), __p2_(__p2) {}
 
@@ -1934,7 +1934,7 @@
 
 class directory_iterator;
 class recursive_directory_iterator;
-class __dir_stream;
+class _LIBCPP_HIDDEN __dir_stream;
 
 class directory_entry {
   typedef _VSTD_FS::path _Path;
@@ -2597,7 +2597,7 @@
   operator==(const recursive_directory_iterator&,
              const recursive_directory_iterator&) noexcept;
 
-  struct __shared_imp;
+  struct _LIBCPP_HIDDEN __shared_imp;
   shared_ptr<__shared_imp> __imp_;
   bool __rec_;
 }; // class recursive_directory_iterator


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59550.191351.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190319/3ad28825/attachment.bin>


More information about the llvm-commits mailing list