This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Use [[no_unique_address]] directly proof-of-concept
AbandonedPublic

Authored by philnik on Mar 29 2022, 11:37 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Summary

This is a proof-of-concept for using [[no_unique_address]] directly in the places where __compressed_pair is used currently. For now this won't work because there is no way to get the functionality of [[no_unique_address]] in C++03.

Diff Detail

Event Timeline

philnik created this revision.Mar 29 2022, 11:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2022, 11:37 AM
philnik requested review of this revision.Mar 29 2022, 11:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2022, 11:37 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik updated this revision to Diff 419032.Mar 29 2022, 6:46 PM
  • Try to fix CI
philnik updated this revision to Diff 419319.Mar 30 2022, 8:14 PM
  • Next try
philnik planned changes to this revision.Aug 5 2022, 11:35 AM

More compiler support/removed C++03 support is required to make this work properly.

philnik abandoned this revision.Jan 22 2023, 2:11 AM