[libcxx-commits] [PATCH] D122675: [libc++] Use [[no_unique_address]] directly proof-of-concept

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 29 11:37:37 PDT 2022


philnik created this revision.
philnik added a reviewer: ldionne.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122675

Files:
  libcxx/include/__memory/compressed_pair.h
  libcxx/include/string
  libcxx/test/libcxx/no_unique_address_keep_abi.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122675.418940.patch
Type: text/x-patch
Size: 29878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220329/638ec66d/attachment-0001.bin>


More information about the libcxx-commits mailing list