aboutsummaryrefslogtreecommitdiff
path: root/scripts/pvscheck.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-18 02:43:42 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-01-18 02:43:42 +0100
commite8137d263ee167a148d92ef7368933ee5824c103 (patch)
tree851d1c6533952373e126287b8958ed8a179ec775 /scripts/pvscheck.sh
parentce6a5fb94bdc62f00c50ffa1bfaf291da01b4a6e (diff)
downloadrneovim-e8137d263ee167a148d92ef7368933ee5824c103.tar.gz
rneovim-e8137d263ee167a148d92ef7368933ee5824c103.tar.bz2
rneovim-e8137d263ee167a148d92ef7368933ee5824c103.zip
pvscheck.sh: ignore stddef.h
This system header should be ignored by PVS. See also: https://stackoverflow.com/q/44906903
Diffstat (limited to 'scripts/pvscheck.sh')
-rwxr-xr-xscripts/pvscheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh
index 371af7c7e5..e3c6681f7a 100755
--- a/scripts/pvscheck.sh
+++ b/scripts/pvscheck.sh
@@ -374,7 +374,7 @@ run_analysis() {(
--sourcetree-root . || true
rm -rf PVS-studio.{xml,err,tsk,html.d}
- local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011"
+ local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011 --exclude-path stddef.h --exclude-path stdarg.h"
plog-converter $plog_args --renderTypes xml --output PVS-studio.xml
plog-converter $plog_args --renderTypes errorfile --output PVS-studio.err
plog-converter $plog_args --renderTypes tasklist --output PVS-studio.tsk