Skip to content

Commit 3495c90

Browse files
committed
2
1 parent 4838093 commit 3495c90

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎tools/tweak-compile-commands.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ tools/tweak-compile-commands.py COMPILE_COMMANDS [-o OUTPUT | -i]
1414

1515
## DESCRIPTION
1616

17-
Cppcheck internally does not have handling of `--sysroot` and skips
18-
`-isystem` paths.
19-
2017
In many cases the system headers should not be included in Cppcheck
2118
analysis, it is preferable to use `--library` instead. The headers
2219
do not provide the knowledge needed for static analysis, i.e. they
@@ -47,8 +44,7 @@ existing `-isystem PATH` argument gets a matching, explicit
4744
### ISYSTEM
4845

4946
The script has an option `--isystem-to-i`, this tells the script to
50-
convert `-isystem` arguments to `-I`. This will effectively tell
51-
Cppcheck to not ignore the path.
47+
convert `-isystem` arguments to `-I`.
5248

5349
The option `--exclude-folder` can be used to skip certain folders. Use
5450
that for a folder if Cppcheck option `--library` can be used instead.

0 commit comments

Comments
 (0)