diff options
author | Luke Elliott <luke.b.elliott@gmail.com> | 2022-12-27 17:21:06 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-02-19 02:55:56 +0530 |
commit | 7d2e30375cd9704089a6e5f13395541016e03061 (patch) | |
tree | 3bc92e6ea5b5fc0acfaceb539b8d61bab2e4f4f6 /mesonbuild/compilers/cpp.py | |
parent | ff15f7a90cc7aa86ad46ae244319f152980469ed (diff) | |
download | meson-7d2e30375cd9704089a6e5f13395541016e03061.zip meson-7d2e30375cd9704089a6e5f13395541016e03061.tar.gz meson-7d2e30375cd9704089a6e5f13395541016e03061.tar.bz2 |
clang-cl: supports /std:c++20 now.
See https://github.com/llvm/llvm-project/commit/a8f75d49
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 496d6c1..ab8b323 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -770,7 +770,7 @@ class ClangClCPPCompiler(CPP11AsCPP14Mixin, VisualStudioLikeCPPCompilerMixin, Cl ClangClCompiler.__init__(self, target) def get_options(self) -> 'MutableKeyedOptionDictType': - cpp_stds = ['none', 'c++11', 'vc++11', 'c++14', 'vc++14', 'c++17', 'vc++17', 'c++latest'] + cpp_stds = ['none', 'c++11', 'vc++11', 'c++14', 'vc++14', 'c++17', 'vc++17', 'c++20', 'vc++20', 'c++latest'] return self._get_options_impl(super().get_options(), cpp_stds) |