diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2022-04-03 15:47:55 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-04-03 16:18:32 -0700 |
commit | d1ffdd88b6ce982445eb7942ca9a57f37ec56bf8 (patch) | |
tree | 1ac2452e5b8464455419a9ffc5f9ddc2a3baf916 /.github/workflows/pvs-studio-static-analysis.yml | |
parent | 95df8882e6e78e31152cce09ac16b397b75b1e04 (diff) | |
download | serenity-d1ffdd88b6ce982445eb7942ca9a57f37ec56bf8.zip |
Meta: Sort PVS Studio suppressions numerically :^)
Diffstat (limited to '.github/workflows/pvs-studio-static-analysis.yml')
-rw-r--r-- | .github/workflows/pvs-studio-static-analysis.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/pvs-studio-static-analysis.yml b/.github/workflows/pvs-studio-static-analysis.yml index 5b9f84e5a0..e6a27fb02e 100644 --- a/.github/workflows/pvs-studio-static-analysis.yml +++ b/.github/workflows/pvs-studio-static-analysis.yml @@ -100,19 +100,19 @@ jobs: run: pvs-studio-analyzer analyze -o project.plog --compiler ${{ env.PVS_STUDIO_ANALYSIS_ARCH }}-pc-serenity-g++ --compiler ${{ env.PVS_STUDIO_ANALYSIS_ARCH }}-pc-serenity-gcc -j2 # Suppress Rules: + # - TRY(..) macro breaks this rule: V530 The return value of function 'release_value' is required to be utilized. # - 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. - # V1076 Code contains invisible characters that may alter its logic. # V591 Non-void function should return a value. # V603 Object was created but is not being used. + # 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. # - name: Filter PVS Log working-directory: ${{ github.workspace }}/Build/${{ env.PVS_STUDIO_ANALYSIS_ARCH }} run: | - pvs-studio-analyzer suppress -v677 -v1061 -v530 -v1047 -v1076 -v591 -v603 project.plog + pvs-studio-analyzer suppress -v530 -v591 -v603 -v677 -v1047 -v1061 -v1076 project.plog pvs-studio-analyzer filter-suppressed project.plog - name: Print PVS Log |