瀏覽代碼

[action][ci] add cppcheck new feature

'--check-level=exhaustive'
这个选项可以更深入的在分支中检测,但是会耗时比较久一些。
Supper Thomas 11 月之前
父節點
當前提交
c154c24319
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/ci/cpp_check.py

+ 1 - 0
tools/ci/cpp_check.py

@@ -33,6 +33,7 @@ class CPPCheck:
                     '-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',