HomePhabricator

Modify __has_attribute so that it only looks for GNU-style attributes. Removes…

Description

Modify has_attribute so that it only looks for GNU-style attributes. Removes the ability to look for generic attributes and keywords via this macro, which has the potential to be a breaking change. However, since there is has_cpp_attribute and __has_declspec_attribute, and given the limited usefulness of querying a generic attribute name regardless of syntax, this seems like the correct path forward.

Details

Committed
aaronballmanDec 5 2014, 7:24 AM
Parents
rL223467: Added a new preprocessor macro: __has_declspec_attribute. This can be used as a…
Branches
Unknown
Tags
Unknown

Event Timeline