This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Granularize <bit> and remove <__bits>
ClosedPublic

Authored by philnik on Jan 8 2023, 6:13 AM.

Diff Detail

Event Timeline

philnik created this revision.Jan 8 2023, 6:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 6:13 AM
philnik requested review of this revision.Jan 8 2023, 6:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 6:13 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Jan 8 2023, 7:40 AM

LGTM, modulo 2 issues.

libcxx/include/__bit/countl.h
53
libcxx/include/__bit/has_single_bit.h
10

Update the 3 include guards in this file.

This revision is now accepted and ready to land.Jan 8 2023, 7:40 AM
This revision was automatically updated to reflect the committed changes.
philnik marked 2 inline comments as done.
libcxx/include/__bit_reference