summaryrefslogtreecommitdiffstats
path: root/Templates/MSBuild/FlagTables/v142_CL.json
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-24 17:43:40 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-24 18:19:49 (GMT)
commit43aa632f57bb31514719b7f0d629a9285147f7f8 (patch)
tree4916a2a4085a2564021f1362ee738b61b3136809 /Templates/MSBuild/FlagTables/v142_CL.json
parent460a146e2b8da5355e4638706002715aed85acbc (diff)
downloadCMake-43aa632f57bb31514719b7f0d629a9285147f7f8.zip
CMake-43aa632f57bb31514719b7f0d629a9285147f7f8.tar.gz
CMake-43aa632f57bb31514719b7f0d629a9285147f7f8.tar.bz2
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/MSBuild/FlagTables/v142_CL.json')
-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 70d20c5..d3d7f72 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": []
},
{