-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If a skip file was given to the `CodeChecker parse` command and one of the mentioned file from the bug path was on the skip list we skipped that report. Example: `main.cpp`: ```cpp \#include "lib.h" int main() { return foo(0); } ``` `lib.h`: ``` double foo(int param) { return 1 / param; } ``` `skip file content`: ```txt +*/lib.h -* ``` In this case if we analyzed this project and run on of the following command, it returned with no results: - `CodeChecker parse ./reports --skip skipfile.txt` - `CodeChecker parse ./reports --file "*/lib.h"` With this patch we will skip a report only if the last bug step is on the skip list.
- Loading branch information
1 parent
ed16b5d
commit 9e8f73e
Showing
2 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters