Skip to content

Commit

Permalink
rename attr to FOLLY_ATTR_GNU_MAY_ALIAS
Browse files Browse the repository at this point in the history
Summary: A new pattern for `gnu::`-prefixed attrs.

Differential Revision: D57166789

fbshipit-source-id: fc40af4cda6bdbce5163fbbfe7dbbf11c1a2de89
  • Loading branch information
yfeldblum authored and facebook-github-bot committed May 10, 2024
1 parent a0bae0c commit 916a985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions folly/CppAttributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@
* other type of objects, just like the char type.
*/
#if FOLLY_HAS_CPP_ATTRIBUTE(gnu::may_alias)
#define FOLLY_ATTR_MAY_ALIAS gnu::may_alias
#define FOLLY_ATTR_GNU_MAY_ALIAS gnu::may_alias
#else
#define FOLLY_ATTR_MAY_ALIAS
#define FOLLY_ATTR_GNU_MAY_ALIAS
#endif

#if FOLLY_HAS_CPP_ATTRIBUTE(gnu::pure)
Expand Down

0 comments on commit 916a985

Please sign in to comment.