[PATCH] D40948: Switch Clang's default C++ language target to C++14

Filipe Cabecinhas via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 8 07:01:21 PST 2017


filcab 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;
----------------
Why are you changing the PS4 default too?


Repository:
  rC Clang

https://reviews.llvm.org/D40948





More information about the cfe-commits mailing list