From: Paul Robinson Date: Sat, 25 Feb 2017 00:50:34 +0000 (+0000) Subject: Revert r296209, still one more test to go. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93c4374fe32651bcf27ea9c3a76ee4912ff49fd3;p=clang Revert r296209, still one more test to go. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296216 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 46c60e5da8..2ef96398c0 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -1582,11 +1582,7 @@ void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, case IK_PreprocessedCXX: case IK_ObjCXX: case IK_PreprocessedObjCXX: - // 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_gnucxx98; break; case IK_RenderScript: LangStd = LangStandard::lang_c99;