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.
llvm-svn: 223468
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index daab804..8c47d69 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -47,7 +47,11 @@
Major New Features
------------------
-- A big one.
+- The __has_attribute built-in macro no longer queries for attributes across
+ multiple attribute syntaxes (GNU, C++11, __declspec, etc). Instead, it only
+ queries GNU-style attributes. With the addition of __has_cpp_attribute and
+ __has_declspec_attribute, this allows for more precise coverage of attribute
+ syntax querying.
Improvements to Clang's diagnostics