[all-commits] [llvm/llvm-project] f87aa1: [libc++] Move everything related solely to _LIBCPP...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Feb 16 09:50:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f87aa19be64499308fc18f92d048c5fa2d3064d9
      https://github.com/llvm/llvm-project/commit/f87aa19be64499308fc18f92d048c5fa2d3064d9
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__algorithm/clamp.h
    M libcxx/include/__algorithm/comp_ref_type.h
    M libcxx/include/__algorithm/sample.h
    A libcxx/include/__assert
    M libcxx/include/__coroutine/coroutine_handle.h
    M libcxx/include/__debug
    M libcxx/include/__filesystem/directory_iterator.h
    M libcxx/include/__filesystem/path_iterator.h
    M libcxx/include/__format/format_arg.h
    M libcxx/include/__format/format_string.h
    M libcxx/include/__format/formatter.h
    M libcxx/include/__format/formatter_floating_point.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/__format/formatter_pointer.h
    M libcxx/include/__format/formatter_string.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__hash_table
    M libcxx/include/__iterator/advance.h
    M libcxx/include/__iterator/common_iterator.h
    M libcxx/include/__iterator/counted_iterator.h
    M libcxx/include/__iterator/next.h
    M libcxx/include/__iterator/prev.h
    M libcxx/include/__memory/construct_at.h
    M libcxx/include/__node_handle
    M libcxx/include/__numeric/gcd_lcm.h
    M libcxx/include/__ranges/drop_view.h
    M libcxx/include/__ranges/iota_view.h
    M libcxx/include/__ranges/subrange.h
    M libcxx/include/__ranges/view_interface.h
    M libcxx/include/__string
    M libcxx/include/array
    M libcxx/include/bit
    M libcxx/include/charconv
    M libcxx/include/deque
    M libcxx/include/experimental/coroutine
    M libcxx/include/experimental/memory_resource
    M libcxx/include/fstream
    M libcxx/include/future
    M libcxx/include/list
    M libcxx/include/locale
    M libcxx/include/map
    M libcxx/include/module.modulemap
    M libcxx/include/optional
    M libcxx/include/regex
    M libcxx/include/set
    M libcxx/include/span
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/thread
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/include/vector
    M libcxx/src/CMakeLists.txt
    A libcxx/src/assert.cpp
    M libcxx/src/debug.cpp
    M libcxx/src/filesystem/directory_iterator.cpp
    M libcxx/src/filesystem/filesystem_common.h
    M libcxx/src/filesystem/operations.cpp
    M libcxx/src/filesystem/posix_compat.h
    M libcxx/src/include/ryu/common.h
    M libcxx/src/include/ryu/d2s_intrinsics.h
    M libcxx/src/include/to_chars_floating_point.h
    M libcxx/src/mutex.cpp
    M libcxx/src/ryu/d2fixed.cpp
    M libcxx/src/ryu/d2s.cpp
    M libcxx/src/ryu/f2s.cpp
    M libcxx/src/string.cpp
    M libcxx/src/strstream.cpp
    M libcxx/src/support/ibm/xlocale_zos.cpp
    M libcxx/src/system_error.cpp
    M libcxx/test/libcxx/debug/debug_abort.pass.cpp
    M libcxx/utils/generate_private_header_tests.py

  Log Message:
  -----------
  [libc++] Move everything related solely to _LIBCPP_ASSERT to its own file

This is the first step towards disentangling the debug mode and assertions
in libc++. This patch doesn't make any functional change: it simply moves
_LIBCPP_ASSERT-related stuff to its own file so as to make it clear that
libc++ assertions and the debug mode are different things. Future patches
will make it possible to enable assertions without enabling the debug
mode.

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




More information about the All-commits mailing list