This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFC] Use _LIBCPP_STD_VER instead of __cpp_lib_atomic_is_always_lock_free
ClosedPublic

Authored by philnik on May 11 2023, 8:24 PM.

Details

Reviewers
ldionne
Mordante
Group Reviewers
Restricted Project
Commits
rGc04bcadf30ee: [libc++][NFC] Use _LIBCPP_STD_VER instead of…

Diff Detail

Event Timeline

philnik created this revision.May 11 2023, 8:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2023, 8:24 PM
philnik requested review of this revision.May 11 2023, 8:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2023, 8:24 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.May 12 2023, 9:09 PM
This revision is now accepted and ready to land.May 12 2023, 9:09 PM
Mordante added inline comments.
libcxx/include/__atomic/aliases.h
85

Does this affect utils/libcxx/test/features.py lines 69 and 78.

philnik marked an inline comment as done.May 13 2023, 7:16 AM
philnik added inline comments.
libcxx/include/__atomic/aliases.h
85

It shouldn't, since __cpp_lib_atomic_is_always_lock_free was just guarded behind _LIBCPP_STD_VER >= 17.

Mordante accepted this revision.May 13 2023, 8:10 AM
This revision was automatically updated to reflect the committed changes.
philnik marked an inline comment as done.