[PATCH] D40948: Switch Clang's default C++ language target to C++14
Paul Robinson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 8 12:23:30 PST 2017
probinson added inline comments.
================
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:1733
// The PS4 uses C++11 as the default C++ standard.
- if (T.isPS4())
- LangStd = LangStandard::lang_gnucxx11;
- else
- LangStd = LangStandard::lang_gnucxx98;
+ LangStd = LangStandard::lang_gnucxx14;
break;
----------------
filcab wrote:
> t.p.northover wrote:
> > filcab wrote:
> > > Why are you changing the PS4 default too?
> > Paul Robinson indicated that it was feasible back in March: http://lists.llvm.org/pipermail/cfe-dev/2017-March/052986.html. If that's changed I'd be happy to put it back to C++11, but he's one of the main people (rightly) bugging me about this so I'd be slightly surprised.
> >
> > I also notice the comment crept back in. Bother.
> Sounds good, then. If Paul is happy with that change, I don't see a problem there (assuming you do get rid of the comment for good :-) ).
>
> Thank you,
>
> Filipe
Yes, PS4 product management is happy to move forward.
Repository:
rC Clang
https://reviews.llvm.org/D40948
More information about the cfe-commits
mailing list