Cppcheck: Add cppcheck static analysis tool

Automatically checks currently opened documents and displays results via text marks/annotations.

CppcheckTrigger detects when to check files or clear results.
CppcheckTextMarkManager stores/clears text marks with checks' results.
CppcheckTool generates run arguments and parses output.
CppcheckRunner runs cppcheck binary.
CppcheckOptions configures CppcheckTool.

Task-number: QTCREATORBUG-20418
Change-Id: I8eafeac7af6137d2c9061ae75d4a56c85b3b5a2d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Sergey Morozov
2018-07-30 21:42:47 +03:00
parent 20f3c8d654
commit 31b595314c
22 changed files with 1919 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ Project {
"coreplugin/images/logo/logo.qbs",
"cpaster/cpaster.qbs",
"cpaster/frontend/frontend.qbs",
"cppcheck/cppcheck.qbs",
"cppeditor/cppeditor.qbs",
"cpptools/cpptools.qbs",
"cvs/cvs.qbs",