This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Mark __cpp_lib_hardware_interference_size as unimplemented. This fxes bug PR41423.
ClosedPublic

Authored by curdeius on May 22 2020, 4:35 AM.

Details

Summary

As described in the bug report:
The commit a8b9f59e8caf378d56e8bfcecdb22184cdabf42d "Implement feature test macros using a script" added test features macros for libc++. Among others, it added __cpp_lib_hardware_interference_size. However, there is nothing like std::hardware_constructive_interference_size nor std::hardware_destructive_interference_size, that should be in header <new>.

Diff Detail

Event Timeline

curdeius created this revision.May 22 2020, 4:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.May 22 2020, 1:29 PM

It does seem to be a mistake. Thanks for fixing it!

This revision is now accepted and ready to land.May 22 2020, 1:29 PM
This revision was automatically updated to reflect the committed changes.