[PATCH] D36532: Add -std=c++17

2017-08-09 Thread Hans Wennborg via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL310516: Make -std=c++17 an alias of -std=c++1z (authored by hans). Changed prior to commit: https://reviews.llvm.org/D36532?vs=110430&id=110462#toc Repository: rL LLVM https://reviews.llvm.org/D3653

[PATCH] D36532: Add -std=c++17

2017-08-09 Thread Hans Wennborg via Phabricator via cfe-commits
hans added inline comments. Comment at: include/clang/Frontend/LangStandards.def:113 +LANGSTANDARD(cxx17, "c++17", + CXX, "ISO C++ 2017", LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus1z | rsmith wrote: > Missing "with

[PATCH] D36532: Add -std=c++17

2017-08-09 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith accepted this revision. rsmith added inline comments. This revision is now accepted and ready to land. Comment at: include/clang/Frontend/LangStandards.def:113 +LANGSTANDARD(cxx17, "c++17", + CXX, "ISO C++ 2017", LineComment | CPlusPlus | CPlusPlu

[PATCH] D36532: Add -std=c++17

2017-08-09 Thread Hans Wennborg via Phabricator via cfe-commits
hans created this revision. 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