summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-10-17 23:07:52 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-10-17 23:07:52 +0000
commit460fe6ba47e5a9daff9b64fc236194d10abacb56 (patch)
tree33f1da5aa4eb97634f15da287c03349c7250f2ea /clang/lib/Frontend/CompilerInvocation.cpp
parent68e5dfddcb81d670757f960e0e276943b8a242ca (diff)
downloadbcm5719-llvm-460fe6ba47e5a9daff9b64fc236194d10abacb56.tar.gz
bcm5719-llvm-460fe6ba47e5a9daff9b64fc236194d10abacb56.zip
Add -std=c++1y argument, for *highly* experimental C++14 support.
llvm-svn: 166139
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 5fc3f1bd187..20fd07819e1 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1839,6 +1839,7 @@ void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK,
Opts.C11 = Std.isC11();
Opts.CPlusPlus = Std.isCPlusPlus();
Opts.CPlusPlus0x = Std.isCPlusPlus0x();
+ Opts.CPlusPlus1y = Std.isCPlusPlus1y();
Opts.Digraphs = Std.hasDigraphs();
Opts.GNUMode = Std.isGNUMode();
Opts.GNUInline = !Std.isC99();
OpenPOWER on IntegriCloud