llvm-capstone/libcxx/include
Louis Dionne b81c69415e
[libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234)
Even though constexpr implicitly makes functions inline, we try not to
rely on this implicit effect in the code base. We are mostly consistent
about using `inline` on non-template free-functions to make it clear
that we don't have an ODR violation.

This patch simply fixes a few places where we didn't explicitly use
inline on non-template free functions, presumably because they were
constexpr.

Fixes #75227
2023-12-13 10:17:27 -05:00
..
__algorithm [libc++] Fix copy-paste damage in ranges::rotate_copy and its test (#74544) 2023-12-06 02:29:09 -08:00
__atomic [libc++] Refactor atomic_{unsigned,signed}_lock_free (#73041) 2023-11-22 14:54:40 -05:00
__bit [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
__charconv [libc++][NFC] Update the remaining enable_ifs 2023-09-01 17:51:17 -07:00
__chrono [libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234) 2023-12-13 10:17:27 -05:00
__compare [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__concepts [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__condition_variable [libc++][NFC] Refactor __enable_if return types to defaulted template parameters 2023-09-01 17:52:31 -07:00
__coroutine [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__debug_utils [libc++][hardening][NFC] Introduce _LIBCPP_ASSERT_UNCATEGORIZED. 2023-06-28 15:10:31 -07:00
__exception [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
__expected [libc++] Fix UB in <expected> related to "has value" flag (#68552) (#68733) 2023-10-30 14:56:03 -04:00
__filesystem [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__format [libc++] Implements Runtime format strings. (#73353) 2023-12-09 12:32:17 +01:00
__functional [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__fwd [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
__ios [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
__iterator [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__locale_dir/locale_base_api [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__math [libc++][NFC] Replace typedefs with using in the math headers 2023-08-03 08:51:50 -07:00
__mdspan [libc++] LWG-4021 "mdspan::is_always_meow() should be noexcept", use LIBCPP_STATIC_ASSERT for noexcept strengthening (#74254) 2023-12-10 11:52:14 +01:00
__memory [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__memory_resource [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
__mutex [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__numeric [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__random [libc++] Add floating point type check for uniform real distribution (#70564) 2023-12-07 09:06:54 -05:00
__ranges [libc++] views::split and views::lazy_split shouldn't be range adaptor closures (#75266) 2023-12-13 02:37:05 -08:00
__stop_token [libc++] Implement std::condition_variable_any::wait[_for/until] overloads that take stop_token 2023-09-29 13:50:16 +01:00
__string [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__support libcxx: Bring back unsigned return from wcstoull_l 2023-07-08 13:54:30 +02:00
__system_error [libc++] Adds __throw_system_error overload. 2023-08-29 19:08:18 +02:00
__thread [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__tuple [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI 2023-06-15 08:56:45 -07:00
__type_traits [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__utility [libc++] P2770R0: Stashing stashing iterators for proper flattening (#66033) 2023-12-12 09:45:14 -05:00
__variant [libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234) 2023-12-13 10:17:27 -05:00
experimental [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
ext [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__assert [libc++][hardening] Deprecate _LIBCPP_ENABLE_ASSERTIONS. 2023-07-14 16:58:47 -07:00
__availability [libc++][NFC] Add a few clang-format annotations (#74352) 2023-12-04 15:17:31 -05:00
__bit_reference [libc++] Optimize ranges::count for __bit_iterators 2023-10-06 22:58:41 +02:00
__config [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__config_site.in [ASan][libc++] std::basic_string annotations (#72677) 2023-12-13 06:05:34 +01:00
__hash_table [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__locale [libc++] Fix regex_traits::isctype on big endian platforms (#73200) 2023-12-07 09:18:00 -05:00
__mbstate_t.h [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc 2023-05-30 17:59:32 -07:00
__node_handle [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__split_buffer [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__std_clang_module [libc++] Remove experimental pmr headers now shipped in mainline (#73172) 2023-11-27 10:54:35 -05:00
__std_mbstate_t.h [libc++] cuchar redeclares ::mbstate_t when it's in its own clang module 2023-05-01 13:48:20 -05:00
__threading_support [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__tree [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
__undef_macros Fixing conflicting macro definitions between curses.h and the standard library. 2023-07-06 17:21:08 +00:00
__verbose_abort [libc++][NFC] Refactor _LIBCPP_AVAILABILITY_HAS_* macros to always be defined (#71002) 2023-11-24 23:45:17 +01:00
algorithm [libc++][PSTL] Implement std::equal (#72448) 2023-11-28 16:02:18 -05:00
any [NFC][libc++] Rewrites a return statement. 2023-12-09 15:50:18 +01:00
array [libc++][NFC] Use aliases instead of typedefs in std::array (#74491) 2023-12-05 11:21:06 -05:00
atomic [libc++] Refactor atomic_{unsigned,signed}_lock_free (#73041) 2023-11-22 14:54:40 -05:00
barrier [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
bit [libc++] Fix the signature of std::rotl and std::rotr 2023-08-12 08:46:11 -07:00
bitset [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
cassert
ccomplex
cctype
cerrno
cfenv
cfloat
charconv [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
chrono [libc++][NFC] Add a few clang-format annotations (#74352) 2023-12-04 15:17:31 -05:00
cinttypes
ciso646
climits [libc++] Remove libc++'s own <limits.h> (#65472) 2023-10-10 11:06:43 -07:00
clocale
CMakeLists.txt [libc++] P2770R0: Stashing stashing iterators for proper flattening (#66033) 2023-12-12 09:45:14 -05:00
cmath [libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234) 2023-12-13 10:17:27 -05:00
codecvt [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
compare [libc++] Module fixes for __synth_three_way. 2023-04-07 18:54:09 +02:00
complex [libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234) 2023-12-13 10:17:27 -05:00
complex.h
concepts
condition_variable [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
coroutine [libc++] Granularize <type_traits> includes in <bit>, <numbers> and <coroutine> 2023-01-21 15:09:21 +01:00
csetjmp [libc++] Remove libc++'s own <setjmp.h> header (#68806) 2023-10-12 16:59:04 -07:00
csignal
cstdarg
cstdbool
cstddef [libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234) 2023-12-13 10:17:27 -05:00
cstdint
cstdio [libc++] Remove _LIBCPP_HAS_NO_FGETPOS_FSETPOS (#72073) 2023-11-13 09:43:25 +01:00
cstdlib [libc++] Fixes disabling wide character. 2023-08-19 19:09:16 +02:00
cstring [libc++] Move constexpr <cstring> functions into their own headers and remove unused <cstring> includes 2023-02-21 16:56:29 +01:00
ctgmath
ctime [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
ctype.h
cuchar
cwchar [libc++] Forward to std::{,w}memchr in std::find 2023-05-25 07:59:50 -07:00
cwctype
deque [libc++] Refactor of ASan annotation functions (#74023) 2023-12-05 13:27:08 -05:00
errno.h
exception [libc++] Granularize <exception> 2023-03-12 22:19:41 +01:00
execution [libc++][PSTL] Add more specialized backend customization points 2023-05-11 13:54:28 -07:00
expected
fenv.h
filesystem [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
float.h
format [libc++] Implements Runtime format strings. (#73353) 2023-12-09 12:32:17 +01:00
forward_list [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
fstream [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
functional [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
future [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
initializer_list [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
inttypes.h
iomanip [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
ios [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
iosfwd [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
iostream [libc++] Merge _LIBCPP_FUNC_VIS, _LIBCPP_TYPE_VIS and _LIBCPP_EXCEPTION_ABI into _LIBCPP_EXPORTED_FROM_ABI 2023-06-15 08:56:45 -07:00
istream [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
iterator [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
latch [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
libcxx.imp [libc++][NFC] Remove the old PSTL headers 2023-08-11 08:29:15 -07:00
limits [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
list [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
locale [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
locale.h
map [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
math.h [libc++] Add std::fpclassify overloads for floating-point. (#67913) 2023-10-05 21:18:02 +02:00
mdspan [libc++] LWG-4021 "mdspan::is_always_meow() should be noexcept", use LIBCPP_STATIC_ASSERT for noexcept strengthening (#74254) 2023-12-10 11:52:14 +01:00
memory [libc++][NFC] Add a few clang-format annotations (#74352) 2023-12-04 15:17:31 -05:00
memory_resource [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
module.modulemap.in [libc++] P2770R0: Stashing stashing iterators for proper flattening (#66033) 2023-12-12 09:45:14 -05:00
mutex [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
new [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
numbers [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
numeric [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
optional [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
ostream [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
print [libc++][print] Adds stdout functions. 2023-07-22 11:28:17 +02:00
queue [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
random [libc++] Remove <cstdlib> includes 2023-04-09 02:52:33 +02:00
ranges [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
ratio [libc++] "Implements" new SI prefixis. 2023-06-19 17:04:35 +02:00
regex [libc++] P2770R0: Stashing stashing iterators for proper flattening (#66033) 2023-12-12 09:45:14 -05:00
scoped_allocator [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
semaphore [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
set [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
shared_mutex [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
source_location [libc++] Update <source_location> and msvc_stdlib_force_include.h (#74266) 2023-12-06 09:04:06 -05:00
span [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
sstream [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
stack [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
stdatomic.h [libc++][NFC] Replace _LIBCPP_STD_VER > x with _LIBCPP_STD_VER >= x 2023-02-15 16:52:25 +01:00
stdbool.h
stddef.h
stdexcept [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
stdint.h
stdio.h [libc++] Wipe some more macros that do not belong in C++ forwarding headers 2023-09-07 13:32:26 -04:00
stdlib.h [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
stop_token [libc++] Remove a few transitive includes (#70553) 2023-10-29 18:31:37 +01:00
streambuf [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
string [ASan][libc++] std::basic_string annotations (#72677) 2023-12-13 06:05:34 +01:00
string_view [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
string.h [libc++] Remove Solaris related code 2023-05-05 08:39:51 -04:00
strstream [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
syncstream Implement syncstream (p0053) 2023-11-08 17:45:06 +01:00
system_error [libc++] Move __errc to __system_error/errc.h 2023-04-10 19:23:42 +02:00
tgmath.h
thread [libc++] implement std::jthread 2023-09-16 19:54:19 +01:00
tuple [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
type_traits [libc++] Untangles invoke. 2023-05-24 07:51:27 +02:00
typeindex [libc++] Fix incorrectly-placed attribute 2023-12-12 09:32:35 -05:00
typeinfo [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
uchar.h [libc++] cuchar redeclares ::mbstate_t when it's in its own clang module 2023-05-01 13:48:20 -05:00
unordered_map [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
unordered_set [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
utility [libc++] P2770R0: Stashing stashing iterators for proper flattening (#66033) 2023-12-12 09:45:14 -05:00
valarray [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
variant [libc++] Replace uses of _VSTD:: by std:: (#74331) 2023-12-05 11:19:15 -05:00
vector [libc++] Refactor of ASan annotation functions (#74023) 2023-12-05 13:27:08 -05:00
version [libc++] Update <source_location> and msvc_stdlib_force_include.h (#74266) 2023-12-06 09:04:06 -05:00
wchar.h [libc++] Rename _LIBCPP_INLINE_VISIBILITY to _LIBCPP_HIDE_FROM_ABI (#74095) 2023-12-04 10:25:14 -05:00
wctype.h