This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Remove _LIBCPP_PREFERRED_ALIGNOF
AbandonedPublic

Authored by philnik on Jun 6 2022, 10:56 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project

Diff Detail

Event Timeline

philnik created this revision.Jun 6 2022, 10:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2022, 10:56 AM
philnik requested review of this revision.Jun 6 2022, 10:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2022, 10:56 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne requested changes to this revision.Jun 9 2022, 9:25 AM

I looked at https://reviews.llvm.org/D54814 again, and I think we should actually keep this, even if we end up defining alignof as a macro. Sorry for mis-leading you in my previous comment on D126249. I think it's too important to retain the notion that __alignof is the *preferred* alignment of the compiler in the name that we use, not only as a comment.

This revision now requires changes to proceed.Jun 9 2022, 9:25 AM
philnik abandoned this revision.Jun 12 2022, 10:48 AM