diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-06-16 15:16:56 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-06-16 15:16:56 +0000 |
commit | dbd4d4c8375ee79dd9da290695f292ddcb65c3d3 (patch) | |
tree | 139a40abe8cd0e46cad649d500491b8c273e3cc0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9252057a070fc8f3800a83b0b6bb90bcdf6c64a8 (diff) | |
download | llvm-dbd4d4c8375ee79dd9da290695f292ddcb65c3d3.zip llvm-dbd4d4c8375ee79dd9da290695f292ddcb65c3d3.tar.gz llvm-dbd4d4c8375ee79dd9da290695f292ddcb65c3d3.tar.bz2 |
Add -std=c++1z flag for C++17 features.
llvm-svn: 211030
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 68c7176..d0cf8a3 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1135,6 +1135,7 @@ void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, Opts.CPlusPlus = Std.isCPlusPlus(); Opts.CPlusPlus11 = Std.isCPlusPlus11(); Opts.CPlusPlus1y = Std.isCPlusPlus1y(); + Opts.CPlusPlus1z = Std.isCPlusPlus1z(); Opts.Digraphs = Std.hasDigraphs(); Opts.GNUMode = Std.isGNUMode(); Opts.GNUInline = !Std.isC99(); |