summaryrefslogtreecommitdiff
path: root/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-09 23:11:13 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-09 23:11:13 +0000
commit27db771559cc2edd915b098a739d00b2a0bff13c (patch)
tree4c635f193ac36f17e5ea72c3eaab1b4c07718daf /docs/ReleaseNotes.rst
parent51b58b36f8e3d39eec770d9c0795efa787e47223 (diff)
downloadclang-27db771559cc2edd915b098a739d00b2a0bff13c.tar.gz
clang-27db771559cc2edd915b098a739d00b2a0bff13c.tar.bz2
clang-27db771559cc2edd915b098a739d00b2a0bff13c.tar.xz
Updating documentation for the __has_attribute changes landed in r198897.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r--docs/ReleaseNotes.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 07661a8803..12194f0d7a 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -51,6 +51,11 @@ Major New Features
GCC 4.7 changed the mingw ABI. Clang 3.4 and older use the GCC 4.6
ABI. Clang 3.5 and newer use the GCC 4.7 abi.
+- The __has_attribute feature test is now target-aware. Older versions of Clang
+would return true when the attribute spelling was known, regardless of whether
+the attribute was available to the specific target. Clang now returns true only
+when the attribute pertains to the current compilation target.
+
Improvements to Clang's diagnostics
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^