From 882e1e6064cdde9e71b22f7c5e4fef86caa11d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 22 May 2017 07:44:58 +0200 Subject: [PATCH] daca2: use 'clang' output template --- tools/daca2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/daca2.py b/tools/daca2.py index d14169a52..8c7e07b18 100644 --- a/tools/daca2.py +++ b/tools/daca2.py @@ -152,9 +152,8 @@ def scanarchive(filepath, jobs, cpulimit): cmd = 'cpulimit --limit=' + cpulimit else: cmd = 'nice --adjustment=1000' - cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 --exception-handling=stderr ' + jobs + ' .' + cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 --exception-handling=stderr ' + jobs + ' --template=clang .' cmds = cmd.split() - cmds.append('--template={callstack}: ({severity}) {message} [{id}]') p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE) comm = p.communicate()