[PATCH] D40948: Switch Clang's default C++ language target to C++14
    Tim Northover via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Dec  8 07:43:41 PST 2017
    
    
  
t.p.northover 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:
> 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.
Repository:
  rC Clang
https://reviews.llvm.org/D40948
    
    
More information about the cfe-commits
mailing list