[libcxx-commits] [PATCH] D122506: [libc++] Ensure that all public headers include <__assert>
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 25 13:56:41 PDT 2022
ldionne created this revision.
ldionne added a reviewer: Mordante.
Herald added subscribers: smeenai, miyuki, arphaman, arichardson, mgorny.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
This patch changes the requirement for getting the declaration of the
assertion handler from including <__assert> to including any public
header of the library.
It also adds a generated test to check it. Furthermore, this new
generated test is designed in a way that will make it possible to
replace almost all the existing test-generation scripts with this
system in upcoming patches.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122506
Files:
libcxx/docs/UsingLibcxx.rst
libcxx/include/algorithm
libcxx/include/any
libcxx/include/array
libcxx/include/atomic
libcxx/include/barrier
libcxx/include/bit
libcxx/include/bitset
libcxx/include/cassert
libcxx/include/ccomplex
libcxx/include/cctype
libcxx/include/cerrno
libcxx/include/cfenv
libcxx/include/cfloat
libcxx/include/charconv
libcxx/include/chrono
libcxx/include/cinttypes
libcxx/include/ciso646
libcxx/include/climits
libcxx/include/clocale
libcxx/include/cmath
libcxx/include/codecvt
libcxx/include/compare
libcxx/include/complex
libcxx/include/complex.h
libcxx/include/concepts
libcxx/include/condition_variable
libcxx/include/coroutine
libcxx/include/csetjmp
libcxx/include/csignal
libcxx/include/cstdarg
libcxx/include/cstdbool
libcxx/include/cstddef
libcxx/include/cstdint
libcxx/include/cstdio
libcxx/include/cstdlib
libcxx/include/cstring
libcxx/include/ctgmath
libcxx/include/ctime
libcxx/include/ctype.h
libcxx/include/cuchar
libcxx/include/cwchar
libcxx/include/cwctype
libcxx/include/deque
libcxx/include/errno.h
libcxx/include/exception
libcxx/include/execution
libcxx/include/experimental/algorithm
libcxx/include/experimental/coroutine
libcxx/include/experimental/deque
libcxx/include/experimental/forward_list
libcxx/include/experimental/functional
libcxx/include/experimental/iterator
libcxx/include/experimental/list
libcxx/include/experimental/map
libcxx/include/experimental/memory_resource
libcxx/include/experimental/propagate_const
libcxx/include/experimental/regex
libcxx/include/experimental/set
libcxx/include/experimental/simd
libcxx/include/experimental/string
libcxx/include/experimental/type_traits
libcxx/include/experimental/unordered_map
libcxx/include/experimental/unordered_set
libcxx/include/experimental/utility
libcxx/include/experimental/vector
libcxx/include/ext/hash_map
libcxx/include/ext/hash_set
libcxx/include/fenv.h
libcxx/include/filesystem
libcxx/include/float.h
libcxx/include/format
libcxx/include/forward_list
libcxx/include/fstream
libcxx/include/functional
libcxx/include/future
libcxx/include/initializer_list
libcxx/include/inttypes.h
libcxx/include/iomanip
libcxx/include/ios
libcxx/include/iosfwd
libcxx/include/iostream
libcxx/include/istream
libcxx/include/iterator
libcxx/include/latch
libcxx/include/limits
libcxx/include/limits.h
libcxx/include/list
libcxx/include/locale
libcxx/include/locale.h
libcxx/include/map
libcxx/include/math.h
libcxx/include/memory
libcxx/include/mutex
libcxx/include/new
libcxx/include/numbers
libcxx/include/numeric
libcxx/include/optional
libcxx/include/ostream
libcxx/include/queue
libcxx/include/random
libcxx/include/ranges
libcxx/include/ratio
libcxx/include/regex
libcxx/include/scoped_allocator
libcxx/include/semaphore
libcxx/include/set
libcxx/include/setjmp.h
libcxx/include/shared_mutex
libcxx/include/span
libcxx/include/sstream
libcxx/include/stack
libcxx/include/stdbool.h
libcxx/include/stddef.h
libcxx/include/stdexcept
libcxx/include/stdint.h
libcxx/include/stdio.h
libcxx/include/stdlib.h
libcxx/include/streambuf
libcxx/include/string
libcxx/include/string.h
libcxx/include/string_view
libcxx/include/strstream
libcxx/include/system_error
libcxx/include/tgmath.h
libcxx/include/thread
libcxx/include/tuple
libcxx/include/type_traits
libcxx/include/typeindex
libcxx/include/typeinfo
libcxx/include/uchar.h
libcxx/include/unordered_map
libcxx/include/unordered_set
libcxx/include/utility
libcxx/include/valarray
libcxx/include/variant
libcxx/include/vector
libcxx/include/version
libcxx/include/wchar.h
libcxx/include/wctype.h
libcxx/test/libcxx/assertions/assertions_disabled.pass.cpp
libcxx/test/libcxx/assertions/customize_handler.backdeployment.pass.cpp
libcxx/test/libcxx/assertions/customize_handler.pass.cpp
libcxx/test/libcxx/assertions/debug_mode_compatibility.pass.cpp
libcxx/test/libcxx/assertions/default_handler.abort.pass.cpp
libcxx/test/libcxx/assertions/default_handler.availability.verify.cpp
libcxx/test/libcxx/assertions/headers_declare_assertion_handler.sh.cpp
libcxx/utils/CMakeLists.txt
libcxx/utils/generate_assertion_tests.py
libcxx/utils/generate_feature_test_macro_components.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122506.418320.patch
Type: text/x-patch
Size: 86135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220325/c8beddb3/attachment-0001.bin>
More information about the libcxx-commits
mailing list