From 27aba040ca76b8fc62ead97bc8e83dae4142fb3c Mon Sep 17 00:00:00 2001 From: didebughu Date: Wed, 10 May 2023 11:38:34 +0800 Subject: [PATCH] :art: add tool iwyu-0.19 --- .../management/commands/open_source/iwyu.json | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 server/projects/main/apps/scan_conf/management/commands/open_source/iwyu.json diff --git a/server/projects/main/apps/scan_conf/management/commands/open_source/iwyu.json b/server/projects/main/apps/scan_conf/management/commands/open_source/iwyu.json new file mode 100644 index 000000000..b8689a1cf --- /dev/null +++ b/server/projects/main/apps/scan_conf/management/commands/open_source/iwyu.json @@ -0,0 +1,59 @@ + + { + "name": "iwyu", + "display_name": "include-what-you-use", + "description": "A tool for use with clang to analyze #includes in C and C++ source files", + "license": "University of Illinois/NCSA Open Source License", + "libscheme_set": [], + "image_url": null, + "task_processes": [ + "analyze", + "datahandle" + ], + "scan_app": "codelint", + "scm_url": "iwyu-0.19", + "run_cmd": "python iwyu_tool.py", + "envs": "", + "build_flag": true, + "checkrule_set": [ + { + "real_name": "iwyu-add", + "display_name": "iwyu-add", + "severity": "error", + "category": "other", + "rule_title": "should add", + "rule_params": null, + "custom": false, + "languages": [ + "cpp" + ], + "solution": "Reference msg add", + "owner": null, + "labels": [], + "description": "should add", + "disable": false + }, + { + "real_name": "iwyu-remove", + "display_name": "iwyu-remove", + "severity": "warning", + "category": "performance", + "rule_title": "superfluous", + "rule_params": null, + "custom": false, + "languages": [ + "cpp" + ], + "solution": "Reference msg remove", + "owner": null, + "labels": [], + "description": "should remove", + "disable": false + } + ], + "open_user": true, + "open_saas": false, + "virtual_name": "215", + "show_display_name": true + } +] \ No newline at end of file