mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 10:36:24 +00:00
Meta: Suppress rule v1047 in PVS-Studio Static Analysis
This rule appears to produce a lot of noise, most of them look like false positives (400+). Lets suppress for now to try to move the signal to noise ratio higher for PVS-Studio. Reference: https://pvs-studio.com/en/docs/warnings/v1047/
This commit is contained in:
parent
5f04fb0ece
commit
35617ba2d3
|
@ -100,10 +100,11 @@ jobs:
|
|||
# - We are the system headers: V677 Custom declaration of a standard '<example>' type. The declaration from system header files should be used instead.
|
||||
# - We have no choice: V1061 Extending the 'std' namespace may result in undefined behavior.
|
||||
# - TRY(..) macro breaks this rule: V530 The return value of function 'release_value' is required to be utilized.
|
||||
# - False positives: V1047 Lifetime of the lambda is greater than lifetime of the local variable captured by reference.
|
||||
- name: Filter PVS Log
|
||||
working-directory: ${{ github.workspace }}/Build/${{ env.PVS_STUDIO_ANALYSIS_ARCH }}
|
||||
run: |
|
||||
pvs-studio-analyzer suppress -v677 -v1061 -v530 project.plog
|
||||
pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 project.plog
|
||||
pvs-studio-analyzer filter-suppressed project.plog
|
||||
|
||||
- name: Print PVS Log
|
||||
|
|
Loading…
Reference in a new issue