[PATCH] D38123: [driver] [cl] Add/fix c++17/c++latest

daxpedda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 08:05:03 PDT 2017


daxpedda added a comment.

According to this <https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version> the default is still c++14.
I do not have commit access, I would prefer if somebody else commits this in my stead.



================
Comment at: test/Driver/cl-options.c:514
 
 // RUN: %clang_cl -fmsc-version=1900 -TP -### -- %s 2>&1 | FileCheck -check-prefix=CXX14 %s
 // CXX14: -std=c++14
----------------
martell wrote:
> We should probably change the default to c++17 as part of this commit.
According to [[ https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version | this ]] the default is still c++14.


https://reviews.llvm.org/D38123





More information about the cfe-commits mailing list