This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Introduce __bits
ClosedPublic

Authored by tschuett on Jan 18 2021, 4:31 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGb973e2e2f27e: [libc++] Introduce __bits
Summary

It has the low-level bit fiddling operations from bit. It eliminates a cyclic dependency between __bit_reference, bits, and vector. I want to exploit this in later patches.

Diff Detail

Event Timeline

tschuett created this revision.Jan 18 2021, 4:31 AM
tschuett requested review of this revision.Jan 18 2021, 4:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2021, 4:31 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

This LGTM, however I'll wait until the follow-up patches have been submitted to approve this. Can you please upload whatever patches depend on this and mark them as children of this one? If the follow-up patches make sense, then I have no objection with this.

ldionne accepted this revision.Jan 22 2021, 12:06 PM
This revision is now accepted and ready to land.Jan 22 2021, 12:06 PM
This revision was automatically updated to reflect the committed changes.