Skip to content

Commit 43aa632

Browse files
committed
VS: Populate -Qspectre- flag table entry for v142
Rather than the change from commit 584ad06 (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.
1 parent 460a146 commit 43aa632

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Templates/MSBuild/FlagTables/v142_CL.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -421,16 +421,16 @@
421421
},
422422
{
423423
"name": "SpectreMitigation",
424-
"switch": "Qspectre",
425-
"comment": "Enabled",
426-
"value": "Spectre",
424+
"switch": "Qspectre-",
425+
"comment": "Spectre mitigations disabled",
426+
"value": "false",
427427
"flags": []
428428
},
429429
{
430430
"name": "SpectreMitigation",
431-
"switch": "",
432-
"comment": "Disabled",
433-
"value": "false",
431+
"switch": "Qspectre",
432+
"comment": "Spectre mitigations enabled",
433+
"value": "Spectre",
434434
"flags": []
435435
},
436436
{

0 commit comments

Comments
 (0)