From 43aa632f57bb31514719b7f0d629a9285147f7f8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 24 Jan 2019 12:43:40 -0500 Subject: 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. --- Templates/MSBuild/FlagTables/v142_CL.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Templates') 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": [] }, { -- cgit v1.2.1