Skip to content

Commit

Permalink
support msvc::no_unique_address
Browse files Browse the repository at this point in the history
Summary: https://en.cppreference.com/w/cpp/language/attributes/no_unique_address

Reviewed By: Gownta

Differential Revision: D67054400

fbshipit-source-id: 07609ac5227baa20bae4f3100d13bd1039358d76
  • Loading branch information
EscapeZero authored and facebook-github-bot committed Dec 13, 2024
1 parent 34bac14 commit db28dd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third-party/folly/src/folly/CppAttributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
*/
#if FOLLY_HAS_CPP_ATTRIBUTE(no_unique_address)
#define FOLLY_ATTR_NO_UNIQUE_ADDRESS no_unique_address
#elif FOLLY_HAS_CPP_ATTRIBUTE(msvc::no_unique_address)
#define FOLLY_ATTR_NO_UNIQUE_ADDRESS msvc::no_unique_address
#else
#define FOLLY_ATTR_NO_UNIQUE_ADDRESS
#endif
Expand Down

0 comments on commit db28dd1

Please sign in to comment.