summaryrefslogtreecommitdiffstats
path: root/clang/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang/docs/ReleaseNotes.rst')
-rw-r--r--clang/docs/ReleaseNotes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 8b562bb66eb..f9d4a0105f2 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -139,6 +139,11 @@ Clang now supports the ...
Attribute Changes in Clang
--------------------------
+- Added the ``__has_c_attribute()`` builtin preprocessor macro which allows
+ users to dynamically detect whether a double square-bracket attribute is
+ supported in C mode. This attribute syntax can be enabled with the
+ ``-fdouble-square-bracket-attributes`` flag.
+
- The presence of __attribute__((availability(...))) on a declaration no longer
implies default visibility for that declaration on macOS.
OpenPOWER on IntegriCloud