daca2: use 'clang' output template
This commit is contained in:
parent
7af58cf31a
commit
882e1e6064
|
@ -152,9 +152,8 @@ def scanarchive(filepath, jobs, cpulimit):
|
||||||
cmd = 'cpulimit --limit=' + cpulimit
|
cmd = 'cpulimit --limit=' + cpulimit
|
||||||
else:
|
else:
|
||||||
cmd = 'nice --adjustment=1000'
|
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 = cmd.split()
|
||||||
cmds.append('--template={callstack}: ({severity}) {message} [{id}]')
|
|
||||||
|
|
||||||
p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
comm = p.communicate()
|
comm = p.communicate()
|
||||||
|
|
Loading…
Reference in New Issue