aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorLuke Elliott <luke.b.elliott@gmail.com>2022-12-27 17:21:06 +0000
committerDylan Baker <dylan@pnwbakers.com>2023-01-04 09:47:13 -0800
commitd573db77bc7883b32de97b476e0d880d810bb45c (patch)
treebd57b4a96b08791ccb722019dc6d9717fedbba89 /mesonbuild/compilers/cpp.py
parent2c8c0f95862f2cf8cdb0c4739d2aead7186b9dd8 (diff)
downloadmeson-d573db77bc7883b32de97b476e0d880d810bb45c.zip
meson-d573db77bc7883b32de97b476e0d880d810bb45c.tar.gz
meson-d573db77bc7883b32de97b476e0d880d810bb45c.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index 5789bb5..6566587 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -771,7 +771,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)