You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/manual.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,7 @@ A use case for `-i` is to check a project, but exclude certain files/folders:
144
144
cppcheck --project=compile_commands.json -itest
145
145
146
146
Typically a `compile_commands.json` contains absolute paths. However no matter if `compile_commands.json` contains absolute paths or relative paths, the option `-itest` would mean that:
147
+
147
148
* a file with relative path `test1.cpp` can be checked.
148
149
* a file with relative path `test/somefile.cpp` is not checked
0 commit comments