summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardLevelResolver.cxx
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2021-06-11 11:40:57 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2021-06-11 12:47:23 (GMT)
commite8dc95ae1ec0f0ded781b7b36f3117e499502273 (patch)
treef7bf2adadc2380d804903a2d3e2403d45826117e /Source/cmStandardLevelResolver.cxx
parent2086b938a7b60ce07a28840240de82687b769575 (diff)
downloadCMake-e8dc95ae1ec0f0ded781b7b36f3117e499502273.zip
CMake-e8dc95ae1ec0f0ded781b7b36f3117e499502273.tar.gz
CMake-e8dc95ae1ec0f0ded781b7b36f3117e499502273.tar.bz2
ObjectiveC: Add C17 and C23 support
Issue: #22297
Diffstat (limited to 'Source/cmStandardLevelResolver.cxx')
-rw-r--r--Source/cmStandardLevelResolver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmStandardLevelResolver.cxx b/Source/cmStandardLevelResolver.cxx
index 73d0fed..37ed4c1 100644
--- a/Source/cmStandardLevelResolver.cxx
+++ b/Source/cmStandardLevelResolver.cxx
@@ -322,8 +322,9 @@ std::unordered_map<std::string, StanardLevelComputer> StandardComputerMapping =
"CUDA", std::vector<int>{ 03, 11, 14, 17, 20, 23 },
std::vector<std::string>{ "03", "11", "14", "17", "20", "23" } } },
{ "OBJC",
- StanardLevelComputer{ "OBJC", std::vector<int>{ 90, 99, 11 },
- std::vector<std::string>{ "90", "99", "11" } } },
+ StanardLevelComputer{
+ "OBJC", std::vector<int>{ 90, 99, 11, 17, 23 },
+ std::vector<std::string>{ "90", "99", "11", "17", "23" } } },
{ "OBJCXX",
StanardLevelComputer{
"OBJCXX", std::vector<int>{ 98, 11, 14, 17, 20, 23 },