summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2016-12-19 18:00:45 +0000
committerPaul Robinson <paul.robinson@sony.com>2016-12-19 18:00:45 +0000
commit086c90b24a1da2acee9e058e5135a627cee2fe04 (patch)
tree2287bd94c44ef50b7cb050aabd39fe0622a3dec9 /clang/lib/Frontend/CompilerInvocation.cpp
parent514e743b06bbd748d11031717f84915021f659a2 (diff)
downloadbcm5719-llvm-086c90b24a1da2acee9e058e5135a627cee2fe04.tar.gz
bcm5719-llvm-086c90b24a1da2acee9e058e5135a627cee2fe04.zip
Undo accidental comit
llvm-svn: 290121
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 989feef6c51..8daa83d0b4e 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1570,6 +1570,8 @@ void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK,
break;
case IK_CXX:
case IK_PreprocessedCXX:
+ LangStd = LangStandard::lang_gnucxx11; // PTR
+ break;
case IK_ObjCXX:
case IK_PreprocessedObjCXX:
LangStd = LangStandard::lang_gnucxx98;
OpenPOWER on IntegriCloud