summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-02-20 00:28:54 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-02-20 00:28:54 +0000
commit903ededb4909330e28ac485e0bdd8293c4a47a0a (patch)
treef88ed40263c78cb47af414662d23e9be7141f838
parent0a431cf9fa4b6abb73f4dbec296ce0068bcb5b19 (diff)
A few release note updates for C and C++ frontend changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_36@229939 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/ReleaseNotes.rst15
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 72712af13f..e5c748db46 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -105,16 +105,27 @@ Windows Support
C Language Changes in Clang
---------------------------
-...
+- The default language mode for C compilations with Clang has been changed from
+ C99 with GNU extensions to C11 with GNU extensions. C11 is largely
+ backwards-compatible with C99, but if you want to restore the former behavior
+ you can do so with the `-std=gnu99` flag.
C11 Feature Support
^^^^^^^^^^^^^^^^^^^
-...
+- Clang now provides an implementation of the standard C11 header `<stdatomic.h>`.
C++ Language Changes in Clang
-----------------------------
+- An `upcoming change to C++ <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3922.html>_`
+ changes the semantics of certain deductions of `auto` from a braced initializer
+ list. Following the intent of the C++ committee, this change will be applied to
+ our C++11 and C++14 modes as well as our experimental C++17 mode. Clang 3.6
+ does not yet implement this change, but to provide a transition period, it
+ warns on constructs whose meaning will change. The fix in all cases is to
+ add an `=` prior to the left brace.
+
- Clang now supports putting identical constructors and destructors in
the C5/D5 comdat, reducing code duplication.