This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Add _LIBCPP_INLINE_VISIBILITY to __compressed_pair_elem members
ClosedPublic

Authored by arphaman on Nov 7 2017, 11:08 AM.

Details

Summary

The commit r300140 changed the implementation of compressed_pair, but didn't add _LIBCPP_INLINE_VISIBILITY to the constructors and get members of the compressed_pair_elem class. This patch adds the visibility annotation.

I'm not sure how to test this (and if it's possible to test this change). Could you please let me know if it's possible to add libc++ test for this patch?

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman created this revision.Nov 7 2017, 11:08 AM
EricWF accepted this revision.Nov 7 2017, 10:11 PM
This revision is now accepted and ready to land.Nov 7 2017, 10:11 PM
This revision was automatically updated to reflect the committed changes.