summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-24 12:43:40 -0500
committerBrad King <brad.king@kitware.com>2019-01-24 13:19:49 -0500
commit43aa632f57bb31514719b7f0d629a9285147f7f8 (patch)
tree4916a2a4085a2564021f1362ee738b61b3136809 /Templates
parent460a146e2b8da5355e4638706002715aed85acbc (diff)
downloadcmake-43aa632f57bb31514719b7f0d629a9285147f7f8.tar.gz
VS: Populate `-Qspectre-` flag table entry for v142
Rather than the change from commit 584ad067ba (VS: Fix flag table entry for -Qspectre, 2018-11-26), update the v142 flag table with an actual flag for the negative form of the flag. Switch the entry order so that the longer negative form is first.
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v142_CL.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json
index 70d20c5e2d..d3d7f7262f 100644
--- a/Templates/MSBuild/FlagTables/v142_CL.json
+++ b/Templates/MSBuild/FlagTables/v142_CL.json
@@ -421,16 +421,16 @@
},
{
"name": "SpectreMitigation",
- "switch": "Qspectre",
- "comment": "Enabled",
- "value": "Spectre",
+ "switch": "Qspectre-",
+ "comment": "Spectre mitigations disabled",
+ "value": "false",
"flags": []
},
{
"name": "SpectreMitigation",
- "switch": "",
- "comment": "Disabled",
- "value": "false",
+ "switch": "Qspectre",
+ "comment": "Spectre mitigations enabled",
+ "value": "Spectre",
"flags": []
},
{