]> granicus.if.org Git - clang/commit
Make -std=c++17 an alias of -std=c++1z
authorHans Wennborg <hans@hanshq.net>
Wed, 9 Aug 2017 20:12:53 +0000 (20:12 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 9 Aug 2017 20:12:53 +0000 (20:12 +0000)
commit27bed58c783d74e02bb280b2e3f28fcba8ca58c2
treee0a1c7b4ea99beb42d54cde325b4ab5c6a14a8c3
parent16c706343503911d2ec5e994d9b8fd3f83ac339e
Make -std=c++17 an alias of -std=c++1z

As suggested on PR33912.

Trying to keep this small to make it easy to merge to the 5.0 branch. We
can do a follow-up with more thorough renaming (diagnostic text,
options, ids, etc.) later.

(For C++14 this was done in r215982, and I think a smaller patch for the
3.5 branch:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20140818/113013.html)

Differential Revision: https://reviews.llvm.org/D36532

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310516 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/LangStandards.def
test/Driver/unknown-std.cpp
test/SemaCXX/cxx1z-init-statement.cpp