diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-07-04 17:45:24 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2023-07-17 09:37:32 -0400 |
commit | edab068de4c23a627c2a137f5e055239ef30eb44 (patch) | |
tree | 93054d3c7314782aa859b967316173a2a3b25b19 /libcxx | |
parent | 724fcace0a9623ca1051f04be47aafe7e5eeb93a (diff) | |
download | llvm-edab068de4c23a627c2a137f5e055239ef30eb44.zip llvm-edab068de4c23a627c2a137f5e055239ef30eb44.tar.gz llvm-edab068de4c23a627c2a137f5e055239ef30eb44.tar.bz2 |
[libc++][NFC] Remove unnecessary declarations in __thread/id.h
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/__thread/id.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libcxx/include/__thread/id.h b/libcxx/include/__thread/id.h index d6a09d9..fd6e6df 100644 --- a/libcxx/include/__thread/id.h +++ b/libcxx/include/__thread/id.h @@ -23,8 +23,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD #ifndef _LIBCPP_HAS_NO_THREADS - -class _LIBCPP_EXPORTED_FROM_ABI thread; class _LIBCPP_EXPORTED_FROM_ABI __thread_id; namespace this_thread { @@ -112,12 +110,6 @@ inline _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(__thread_id __x, __thre namespace this_thread { -_LIBCPP_HIDE_FROM_ABI __thread_id get_id() _NOEXCEPT; - -} // namespace this_thread - -namespace this_thread { - inline _LIBCPP_HIDE_FROM_ABI __thread_id get_id() _NOEXCEPT { return __libcpp_thread_get_current_id(); } } // namespace this_thread |