Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: remove unneeded cppcheck premium suppressions #6702

Merged
merged 3 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cppcheck-premium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: |
premium_version=${{ inputs.premium_version }}
if [ -z $premium_version ]; then
premium_version=devdrop-20240811
premium_version=devdrop-20240815
wget https://files.cppchecksolutions.com/devdrop/cppcheckpremium-$premium_version-amd64.tar.gz -O cppcheckpremium.tar.gz
else
wget https://files.cppchecksolutions.com/$premium_version/ubuntu-22.04/cppcheckpremium-$premium_version-amd64.tar.gz -O cppcheckpremium.tar.gz
Expand Down
15 changes: 9 additions & 6 deletions cppcheckpremium-suppressions
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,7 @@ premium-cert-exp55-cpp
# There are false positives
premium-misra-cpp-2023-6.5.1:lib/symboldatabase.cpp
premium-misra-cpp-2023-6.7.2
premium-misra-cpp-2023-6.8.3
premium-misra-cpp-2023-7.0.3
premium-misra-cpp-2023-8.2.5
premium-misra-cpp-2023-8.18.2
premium-misra-cpp-2023-13.1.2
premium-misra-cpp-2023-13.3.1
premium-misra-cpp-2023-21.6.2
# False positives: #13004
premium-misra-cpp-2023-8.2.7:lib/valueflow.cpp
premium-misra-cpp-2023-8.2.7:lib/checkclass.cpp
Expand Down Expand Up @@ -100,6 +94,9 @@ premium-misra-cpp-2023-6.5.2
# we use local static variables by intention
premium-misra-cpp-2023-6.7.1

# Could write good warnings but also has a warning about safe code
premium-misra-cpp-2023-6.8.3

# FIXME enforce proper ref qualifications
premium-misra-cpp-2023-6.8.4

Expand All @@ -112,6 +109,9 @@ premium-misra-cpp-2023-7.0.1
# we convert integer to bool by intention
premium-misra-cpp-2023-7.0.2

# Misra C++ is too pedantic about using character values
premium-misra-cpp-2023-7.0.3

# signed integer expression in bitwise rhs by intention
premium-misra-cpp-2023-7.0.4

Expand Down Expand Up @@ -247,6 +247,9 @@ premium-misra-cpp-2023-21.2.3
# Dynamic memory usage in std::string etc
premium-misra-cpp-2023-21.6.1

# We use new/delete by intention sometimes
premium-misra-cpp-2023-21.6.2

# TODO use std::make_unique when we require C++14
premium-misra-cpp-2023-23.11.1

Expand Down
Loading