VS: Fix /analyze:log flag mapping (#14858)
Original header commits: v11/v12 commit v3.1.0-rc1~695^2 v140/v141 commit v3.1.0-rc1~358^2~3 Fix the VS 11 and VS 12 flag table entries for this flag. It requires a value in the following argument. Also drop the general "/analyze:" flag table entry so that such flags will be passed through as plain additional options. This is necessary because some such options have following values and some do not but not all have .vcxproj elements to hold the values.
This commit is contained in:
parent
aba364d190
commit
44dc9fc48a
@ -937,13 +937,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastAdditionalOptions",
|
||||
"switch": "analyze:",
|
||||
"comment": "Additional Code Analysis Native options",
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue",
|
||||
"SemicolonAppendable"
|
||||
"UserFollowing"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -1051,15 +1050,6 @@
|
||||
"UserRequired"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProcessorNumber",
|
||||
"switch": "MP",
|
||||
|
@ -951,13 +951,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastAdditionalOptions",
|
||||
"switch": "analyze:",
|
||||
"comment": "Additional Code Analysis Native options",
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue",
|
||||
"SemicolonAppendable"
|
||||
"UserFollowing"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -1065,15 +1064,6 @@
|
||||
"UserRequired"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProcessorNumber",
|
||||
"switch": "MP",
|
||||
|
@ -979,13 +979,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastAdditionalOptions",
|
||||
"switch": "analyze:",
|
||||
"comment": "Additional Code Analysis Native options",
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue",
|
||||
"SemicolonAppendable"
|
||||
"UserFollowing"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -1102,15 +1101,6 @@
|
||||
"UserRequired"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProcessorNumber",
|
||||
"switch": "MP",
|
||||
|
@ -1049,13 +1049,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastAdditionalOptions",
|
||||
"switch": "analyze:",
|
||||
"comment": "Additional Code Analysis Native options",
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue",
|
||||
"SemicolonAppendable"
|
||||
"UserFollowing"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -1172,15 +1171,6 @@
|
||||
"UserRequired"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "PREfastLog",
|
||||
"switch": "analyze:log",
|
||||
"comment": "Code Analysis Log",
|
||||
"value": "",
|
||||
"flags": [
|
||||
"UserValue"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProcessorNumber",
|
||||
"switch": "MP",
|
||||
|
Loading…
Reference in New Issue
Block a user