From d1fbb1edbdf6b6b1b125fcccd8b4b5d7ff73f965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Gil=20de=20G=C3=B3mez=20P=C3=A9rez?= Date: Wed, 12 Aug 2026 15:01:25 +0300 Subject: [PATCH] Fix: Brought back suppressions.txt --- cppcheck/suppressions.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cppcheck/suppressions.txt diff --git a/cppcheck/suppressions.txt b/cppcheck/suppressions.txt new file mode 100644 index 0000000..abdf8dc --- /dev/null +++ b/cppcheck/suppressions.txt @@ -0,0 +1,19 @@ +# Suppress Cppcheck noise for this GCC 16 / C++26 course project. +# +# Prefer: cmake --build cmake-build-debug-gcc-16-cpp26 --target cppcheck_modules +# Disable the CLion Cppcheck plugin — it analyzes headers in isolation. + +# GCC / libstdc++ / contracts false positives (especially in CLion plugin mode) +missingIncludeSystem +syntaxError + +# Third-party (Google Test / Google Mock) — analyzed by cppcheck_project +*:_deps/* + +# Course exercise stubs — intentional teaching patterns (TODO implementations) +passedByValue:*modules/* +useStlAlgorithm:*modules/* +functionStatic:*modules/* +uninitMemberVarNoCtor:*modules/* +constVariable:*modules/* +bitwiseOnBoolean:*modules/*