mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
Meta: Suppress PVS Studio Rule v591 "non-void functions should return"
This rule appears to be fundamentally broken for our code base, it flags `void` functions all over the place, as well as constructors. Lets suppress it for now.
This commit is contained in:
parent
d749ea3b70
commit
2afcd45299
1 changed files with 2 additions and 1 deletions
|
@ -106,11 +106,12 @@ jobs:
|
||||||
# - False positives:
|
# - False positives:
|
||||||
# V1047 Lifetime of the lambda is greater than lifetime of the local variable captured by reference.
|
# V1047 Lifetime of the lambda is greater than lifetime of the local variable captured by reference.
|
||||||
# V1076 Code contains invisible characters that may alter its logic.
|
# V1076 Code contains invisible characters that may alter its logic.
|
||||||
|
# V591 Non-void function should return a value.
|
||||||
#
|
#
|
||||||
- name: Filter PVS Log
|
- name: Filter PVS Log
|
||||||
working-directory: ${{ github.workspace }}/Build/${{ env.PVS_STUDIO_ANALYSIS_ARCH }}
|
working-directory: ${{ github.workspace }}/Build/${{ env.PVS_STUDIO_ANALYSIS_ARCH }}
|
||||||
run: |
|
run: |
|
||||||
pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 -v1076 project.plog
|
pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 -v1076 -v591 project.plog
|
||||||
pvs-studio-analyzer filter-suppressed project.plog
|
pvs-studio-analyzer filter-suppressed project.plog
|
||||||
|
|
||||||
- name: Print PVS Log
|
- name: Print PVS Log
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue