We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809b463 commit 9e28978Copy full SHA for 9e28978
src/extension.ts
@@ -198,16 +198,22 @@ async function runCppcheckOnFileXML(
198
'--enable=all',
199
'--xml',
200
'--xml-version=2',
201
+ '--suppress=unusedFunction',
202
+ '--suppress=missingInclude',
203
+ '--suppress=missingIncludeSystem',
204
`--file-filter=${filePath.replace(/\\/g, '/')}`,
205
standardArg,
- ...extraArgsParsed
206
+ ...extraArgsParsed,
207
].filter(Boolean);
208
proc = cp.spawn(commandPath, args);
209
} else {
210
const args = [
211
212
213
214
215
216
217
218
...extraArgsParsed,
219
filePath.replace(/\\/g, '/')
0 commit comments