summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-02-25 00:50:34 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-02-25 00:50:34 +0000
commit40327852062134f7984557f703a4f89333085a75 (patch)
treee02f0da418732fae5f216f15951af137f82d777b /clang/lib/Frontend/CompilerInvocation.cpp
parentaf299ea5d456aa2fc19d7fdb041a0452d209fd4c (diff)
downloadbcm5719-llvm-40327852062134f7984557f703a4f89333085a75.tar.gz
bcm5719-llvm-40327852062134f7984557f703a4f89333085a75.zip
Revert r296209, still one more test to go.
llvm-svn: 296216
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 46c60e5da8e..2ef96398c0d 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud