Skip to content

[libc++] Remove outdated _LIBCPP_CLANG_VER check #71759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions libcxx/include/__atomic/atomic_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
# pragma GCC system_header
#endif

#define ATOMIC_FLAG_INIT {false}
#define ATOMIC_VAR_INIT(__v) {__v}
#define ATOMIC_FLAG_INIT \
{ false }
#define ATOMIC_VAR_INIT(__v) \
{ __v }

#if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
# if defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1400
# pragma clang deprecated(ATOMIC_VAR_INIT)
# endif
#endif // _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
#endif

#endif // _LIBCPP___ATOMIC_ATOMIC_INIT_H
1 change: 0 additions & 1 deletion libcxx/utils/data/ignore_format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ libcxx/include/array
libcxx/include/__atomic/atomic_base.h
libcxx/include/__atomic/atomic_flag.h
libcxx/include/__atomic/atomic.h
libcxx/include/__atomic/atomic_init.h
libcxx/include/__atomic/atomic_lock_free.h
libcxx/include/__atomic/atomic_sync.h
libcxx/include/__atomic/check_memory_order.h
Expand Down