diff options
author | Faisal Vali <faisalv@yahoo.com> | 2017-07-16 00:23:04 +0000 |
---|---|---|
committer | Faisal Vali <faisalv@yahoo.com> | 2017-07-16 00:23:04 +0000 |
commit | 5f475b989c8b2ffd35dccbdc77a64ac36601e727 (patch) | |
tree | 2c97660410ccd7c02d4e6e75c0b08106fbba6752 /clang/test/Driver/unknown-std.cpp | |
parent | 50648af623295e526b2943cc9ce7aa2b3db5a6ce (diff) | |
download | bcm5719-llvm-5f475b989c8b2ffd35dccbdc77a64ac36601e727.tar.gz bcm5719-llvm-5f475b989c8b2ffd35dccbdc77a64ac36601e727.zip |
[c++2a] Add option -std=c++2a to enable support for potential/transitional C++2a features
- as usual C++2a implies all the C++'s that came before it.
Thank you Aaron for the feedback here: https://reviews.llvm.org/D35454
llvm-svn: 308118
Diffstat (limited to 'clang/test/Driver/unknown-std.cpp')
-rw-r--r-- | clang/test/Driver/unknown-std.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Driver/unknown-std.cpp b/clang/test/Driver/unknown-std.cpp index 4f7a5e64a6e..195a671edad 100644 --- a/clang/test/Driver/unknown-std.cpp +++ b/clang/test/Driver/unknown-std.cpp @@ -15,6 +15,8 @@ // CHECK-NEXT: note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard // CHECK-NEXT: note: use 'c++1z' for 'Working draft for ISO C++ 2017' standard // CHECK-NEXT: note: use 'gnu++1z' for 'Working draft for ISO C++ 2017 with GNU extensions' standard +// CHECK-NEXT: note: use 'c++2a' for 'Working draft for ISO C++ 2020' standard +// CHECK-NEXT: note: use 'gnu++2a' for 'Working draft for ISO C++ 2020 with GNU extensions' standard // CUDA-NEXT: note: use 'cuda' for 'NVIDIA CUDA(tm)' standard // Make sure that no other output is present. |