File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,8 +309,12 @@ To ignore certain folders you can use `-i`. This will skip analysis of source fi
309309
310310### ` -isystem ` , ` -I ` , ` --sysroot `
311311
312- Cppcheck needs to have flexible handling of include paths from compile_commands.json, and this is achieved with a script
313- that can tweak the compile_commands.json file.
312+ We have a [ script] ( https://github.com/cppcheck-opensource/cppcheck/blob/main/tools/tweak-compile-commands.py ) that tweaks compile_commands.json.
313+
314+ You can use it to:
315+ * use ` --sysroot ` flags in Cppcheck analysis
316+ * use ` -isystem ` paths in Cppcheck analysis
317+ * remove ` -I ` paths from the compile_commands.json
314318
315319See [ script documentation] ( https://github.com/cppcheck-opensource/cppcheck/blob/main/tools/tweak-compile-commands.md ) .
316320
You can’t perform that action at this time.
0 commit comments