suppress unmatchedSuppression

This commit is contained in:
badaix 2024-12-20 22:44:35 +01:00
parent 9396a78d71
commit 1bc541cf5e

View file

@ -42,7 +42,7 @@ if(CMAKE_VERSION VERSION_EQUAL "3.19.0" OR CMAKE_VERSION VERSION_GREATER
"--project=${CMAKE_BINARY_DIR}/compile_commands.json" "--project=${CMAKE_BINARY_DIR}/compile_commands.json"
"--error-exitcode=10" "--error-exitcode=10"
"--inline-suppr" "--inline-suppr"
"--suppress=*:${CMAKE_BINARY_DIR}/_deps/*" "--suppress=*:${CMAKE_BINARY_DIR}/*"
"--suppress=unusedFunction" "--suppress=unusedFunction"
"--suppress=noExplicitConstructor" "--suppress=noExplicitConstructor"
"--suppress=missingInclude" "--suppress=missingInclude"
@ -52,6 +52,7 @@ if(CMAKE_VERSION VERSION_EQUAL "3.19.0" OR CMAKE_VERSION VERSION_GREATER
"--suppress=shadowVariable" "--suppress=shadowVariable"
"--suppress=stlIfStrFind" "--suppress=stlIfStrFind"
"--suppress=useStlAlgorithm" "--suppress=useStlAlgorithm"
"--suppress=unmatchedSuppression"
"--suppress=virtualCallInConstructor") "--suppress=virtualCallInConstructor")
if(CPPCHECK_ARGS) if(CPPCHECK_ARGS)