From c154c24319bd9237be737f74a3fa236ce4d70a57 Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Thu, 12 Sep 2024 07:20:20 +0800 Subject: [PATCH] [action][ci] add cppcheck new feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit '--check-level=exhaustive' 这个选项可以更深入的在分支中检测,但是会耗时比较久一些。 --- tools/ci/cpp_check.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ci/cpp_check.py b/tools/ci/cpp_check.py index 5e7e1005257..4aaac03e395 100644 --- a/tools/ci/cpp_check.py +++ b/tools/ci/cpp_check.py @@ -33,6 +33,7 @@ def check(self): '-I thread/components/finsh', # it's okay because CI will do the real compilation to check this '--suppress=syntaxError', + '--check-level=exhaustive', '--enable=warning', 'performance', 'portability',