VS: Add -Qspectre- flag table entry for v145 toolset

Apply the change from commit a070d87e08 (VS: Populate `-Qspectre-` flag
table entry for v143, 2021-07-14, v3.21.1~29^2~7) to the v145 flag
table.  Sort the longer options before the shorter ones.  Remove the
default variant with an empty switch.
This commit is contained in:
Brad King
2025-09-10 17:01:10 -04:00
parent 730eea86e7
commit aa0e87f50f
+9 -9
View File
@@ -554,9 +554,9 @@
},
{
"name": "SpectreMitigation",
"switch": "Qspectre",
"comment": "Enabled",
"value": "Spectre",
"switch": "Qspectre-load-cf",
"comment": "All Control Flow Loads",
"value": "SpectreLoadCF",
"flags": []
},
{
@@ -568,16 +568,16 @@
},
{
"name": "SpectreMitigation",
"switch": "Qspectre-load-cf",
"comment": "All Control Flow Loads",
"value": "SpectreLoadCF",
"switch": "Qspectre-",
"comment": "Disabled",
"value": "false",
"flags": []
},
{
"name": "SpectreMitigation",
"switch": "",
"comment": "Disabled",
"value": "false",
"switch": "Qspectre",
"comment": "Enabled",
"value": "Spectre",
"flags": []
},
{