[all-commits] [llvm/llvm-project] f1ea0b: [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS ...

philnik777 via All-commits all-commits at lists.llvm.org
Thu Jun 15 08:56:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1ea0b11ca03d0f8b5785b7ec92d2eb673eeb4b9
      https://github.com/llvm/llvm-project/commit/f1ea0b11ca03d0f8b5785b7ec92d2eb673eeb4b9
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M libcxx/.clang-format
    M libcxx/docs/DesignDocs/VisibilityMacros.rst
    M libcxx/include/__algorithm/shuffle.h
    M libcxx/include/__algorithm/sort.h
    M libcxx/include/__charconv/from_chars_result.h
    M libcxx/include/__charconv/to_chars_floating_point.h
    M libcxx/include/__charconv/to_chars_result.h
    M libcxx/include/__chrono/file_clock.h
    M libcxx/include/__chrono/steady_clock.h
    M libcxx/include/__chrono/system_clock.h
    M libcxx/include/__condition_variable/condition_variable.h
    M libcxx/include/__config
    M libcxx/include/__debug
    M libcxx/include/__exception/exception.h
    M libcxx/include/__exception/exception_ptr.h
    M libcxx/include/__exception/nested_exception.h
    M libcxx/include/__exception/operations.h
    M libcxx/include/__exception/terminate.h
    M libcxx/include/__filesystem/directory_entry.h
    M libcxx/include/__filesystem/directory_iterator.h
    M libcxx/include/__filesystem/file_status.h
    M libcxx/include/__filesystem/filesystem_error.h
    M libcxx/include/__filesystem/operations.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__filesystem/path_iterator.h
    M libcxx/include/__filesystem/recursive_directory_iterator.h
    M libcxx/include/__filesystem/space_info.h
    M libcxx/include/__format/format_error.h
    M libcxx/include/__format/formatter_output.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__hash_table
    M libcxx/include/__locale
    M libcxx/include/__memory/align.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory_resource/memory_resource.h
    M libcxx/include/__memory_resource/monotonic_buffer_resource.h
    M libcxx/include/__memory_resource/pool_options.h
    M libcxx/include/__memory_resource/synchronized_pool_resource.h
    M libcxx/include/__memory_resource/unsynchronized_pool_resource.h
    M libcxx/include/__mutex/mutex.h
    M libcxx/include/__mutex/tag_types.h
    M libcxx/include/__random/random_device.h
    M libcxx/include/__string/extern_template_lists.h
    M libcxx/include/__support/win32/locale_win32.h
    M libcxx/include/__system_error/error_category.h
    M libcxx/include/__system_error/error_code.h
    M libcxx/include/__system_error/error_condition.h
    M libcxx/include/__system_error/system_error.h
    M libcxx/include/__threading_support
    M libcxx/include/__tuple/sfinae_helpers.h
    M libcxx/include/__utility/in_place.h
    M libcxx/include/any
    M libcxx/include/codecvt
    M libcxx/include/condition_variable
    M libcxx/include/experimental/memory_resource
    M libcxx/include/future
    M libcxx/include/ios
    M libcxx/include/iosfwd
    M libcxx/include/iostream
    M libcxx/include/locale
    M libcxx/include/mutex
    M libcxx/include/new
    M libcxx/include/optional
    M libcxx/include/regex
    M libcxx/include/shared_mutex
    M libcxx/include/stdexcept
    M libcxx/include/string
    M libcxx/include/strstream
    M libcxx/include/thread
    M libcxx/include/typeinfo
    M libcxx/include/valarray
    M libcxx/include/variant
    M libcxx/src/any.cpp
    M libcxx/src/charconv.cpp
    M libcxx/src/condition_variable_destructor.cpp
    M libcxx/src/debug.cpp
    M libcxx/src/experimental/memory_resource.cpp
    M libcxx/src/filesystem/int128_builtins.cpp
    M libcxx/src/iostream.cpp
    M libcxx/src/legacy_pointer_safety.cpp
    M libcxx/src/memory_resource.cpp
    M libcxx/src/mutex_destructor.cpp
    M libcxx/src/optional.cpp
    M libcxx/src/support/ibm/mbsnrtowcs.cpp
    M libcxx/src/support/ibm/wcsnrtombs.cpp
    M libcxx/src/valarray.cpp

  Log Message:
  -----------
  [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI

These macros are always defined identically, so we can simplify the code a bit by merging them.

Reviewed By: ldionne, #libc

Spies: libcxx-commits, krytarowski, smeenai

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




More information about the All-commits mailing list