[llvm-branch-commits] [cfe-branch] r312293 - Mention the expected change to default -std= in future clang releases.

Richard Smith via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 31 16:19:49 PDT 2017

Author: rsmith
Date: Thu Aug 31 16:19:49 2017
New Revision: 312293

URL: http://llvm.org/viewvc/llvm-project?rev=312293&view=rev
Mention the expected change to default -std= in future clang releases.


Modified: cfe/branches/release_50/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_50/docs/ReleaseNotes.rst?rev=312293&r1=312292&r2=312293&view=diff
--- cfe/branches/release_50/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_50/docs/ReleaseNotes.rst Thu Aug 31 16:19:49 2017
@@ -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

More information about the llvm-branch-commits mailing list