[libcxx-commits] [PATCH] D119769: [libc++] Move everything related solely to _LIBCPP_ASSERT to its own file

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 14 13:00:52 PST 2022


ldionne created this revision.
Herald added subscribers: wenlei, mgorny.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119769

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119769.408581.patch
Type: text/x-patch
Size: 35955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220214/408dc1c3/attachment-0001.bin>


More information about the libcxx-commits mailing list