diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-09-01 02:19:49 +0300 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-09-01 02:19:49 +0300 |
commit | a679b0d880a822606e69d0cc791ce2c0a929f3a6 (patch) | |
tree | b7771ad0be0253b7b4add04c08924f684524504d | |
parent | e6d17f269a1be3fe7ef06cb3eb9748acfe788b48 (diff) |
Mention the expected change to default -std= in future clang releases.
llvm-svn: 312293
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index c78b407365e8..6e8b005e7cb1 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/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). |