[all-commits] [llvm/llvm-project] 3583bf: [libc++] Make everything in namespace std have def...

philnik777 via All-commits all-commits at lists.llvm.org
Sat Aug 19 15:16:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3583bf3ad8c5423cf5039911a4e0a699a788cd6d
      https://github.com/llvm/llvm-project/commit/3583bf3ad8c5423cf5039911a4e0a699a788cd6d
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-08-19 (Sat, 19 Aug 2023)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/docs/DesignDocs/VisibilityMacros.rst
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/include/__charconv/chars_format.h
    M libcxx/include/__compare/ordering.h
    M libcxx/include/__config
    M libcxx/include/__filesystem/copy_options.h
    M libcxx/include/__filesystem/directory_options.h
    M libcxx/include/__filesystem/file_type.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__filesystem/perm_options.h
    M libcxx/include/__filesystem/perms.h
    M libcxx/include/__format/format_arg.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__format/write_escaped.h
    M libcxx/include/__fwd/subrange.h
    M libcxx/include/new

  Log Message:
  -----------
  [libc++] Make everything in namespace std have default type visibility and hidden visibility and remove _LIBCPP_ENUM_VIS

This avoids having to add `_LIBCPP_ENUM_VIS`, since that is handled through `type_visibility` and GCC always makes the visibility of enums default. It also fixes and missing `_LIBCPP_EXPORTED_FROM_ABI` on classes when using Clang.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D153658




More information about the All-commits mailing list