summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-08-31 23:19:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-08-31 23:19:49 +0000
commit7e8743f82ac7957c66d9c2444996be5b1218673b (patch)
tree6a5c012f784008f733c0483f22512c1030933e26
parent5a151ed6454d91d3ae76c56cc0d8d7757f80f931 (diff)
Mention the expected change to default -std= in future clang releases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@312293 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/ReleaseNotes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index c78b407365..6e8b005e7c 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -148,6 +148,12 @@ assignment operators where applicable.
C++ Language Changes in Clang
-----------------------------
+- We expect this to be the last Clang release that defaults to ``-std=gnu++98``
+ when using the GCC-compatible ``clang++`` driver. From Clang 6 onwards we
+ expect to use ``-std=gnu++14`` or a later standard by default, to match the
+ behavior of recent GCC releases. Users are encouraged to change their build
+ files to explicitly specify their desired C++ standard.
+
- Support for the C++17 standard has been completed. This mode can be enabled
using ``-std=c++17`` (the old flag ``-std=c++1z`` is still supported for
compatibility).