r296216 - Revert r296209, still one more test to go.
Paul Robinson via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 24 16:50:34 PST 2017
Author: probinson
Date: Fri Feb 24 18:50:34 2017
New Revision: 296216
URL: http://llvm.org/viewvc/llvm-project?rev=296216&view=rev
Log:
Revert r296209, still one more test to go.
Modified:
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=296216&r1=296215&r2=296216&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Fri Feb 24 18:50:34 2017
@@ -1582,11 +1582,7 @@ void CompilerInvocation::setLangDefaults
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;
More information about the cfe-commits
mailing list