apple-clang: fix spec syntax error (#49802)

This commit is contained in:
Paul Gessinger 2025-04-01 11:53:56 +02:00 committed by GitHub
parent ce1c2b0f05
commit 451db85657
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,9 +57,9 @@ def _standard_flag(self, *, language, standard):
"cxx": {
"11": [("@4.0:", "-std=c++11")],
"14": [("@6.1:", "-std=c++14")],
"17": [("@6.1:10.0", "-std=c++1z"), ("10.1:", "-std=c++17")],
"20": [("@10.0:13.0", "-std=c++2a"), ("13.1:", "-std=c++20")],
"23": [("13.0:", "-std=c++2b")],
"17": [("@6.1:10.0", "-std=c++1z"), ("@10.1:", "-std=c++17")],
"20": [("@10.0:13.0", "-std=c++2a"), ("@13.1:", "-std=c++20")],
"23": [("@13.0:", "-std=c++2b")],
},
"c": {
"99": [("@4.0:", "-std=c99")],