Reapplies r296209 now that r296549 has fixed what really seems to be
the last problematic test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296554
91177308-0d34-0410-b5e6-
96231b3b80d8
case IK_PreprocessedCXX:
case IK_ObjCXX:
case IK_PreprocessedObjCXX:
- LangStd = LangStandard::lang_gnucxx98;
+ // The PS4 uses C++11 as the default C++ standard.
+ if (T.isPS4())
+ LangStd = LangStandard::lang_gnucxx11;
+ else
+ LangStd = LangStandard::lang_gnucxx98;
break;
case IK_RenderScript:
LangStd = LangStandard::lang_c99;