mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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
Notes:
sideshowbarker
2024-07-18 01:44:18 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/35617ba2d31 Pull-request: https://github.com/SerenityOS/serenity/pull/10710
@ -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 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.
|
# - 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.
|
# - 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
|
- 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 project.plog
|
pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 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…
Reference in New Issue
Block a user