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)
commit7d928cc596bdfe3c0f8b60e9a5c605d1b0f4cec2
tree9c0744242aba78d7135635aba432bd3e71df5beb
parent36cd1859f395c1199c778879b59db9c01230a389
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

llvm-svn: 310516
clang/include/clang/Frontend/LangStandards.def
clang/test/Driver/unknown-std.cpp
clang/test/SemaCXX/cxx1z-init-statement.cpp