mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	pvscheck.sh: do not set --sourcetree-root [ci skip]
System headers should be ignored by PVS, but somehow aren't. See also: https://stackoverflow.com/q/44906903
This commit is contained in:
		| @@ -371,10 +371,10 @@ run_analysis() {( | ||||
|       --output-file PVS-studio.log \ | ||||
|       --verbose \ | ||||
|       --file build/compile_commands.json \ | ||||
|       --sourcetree-root . || true | ||||
|     || true | ||||
|  | ||||
|   rm -rf PVS-studio.{xml,err,tsk,html.d} | ||||
|   local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011 --exclude-path stddef.h --exclude-path stdarg.h" | ||||
|   local plog_args="PVS-studio.log --srcRoot . --excludedCodes V011" | ||||
|   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 | ||||
| @@ -473,8 +473,6 @@ main() { | ||||
|     return 0 | ||||
|   fi | ||||
|  | ||||
|   # set -x | ||||
|  | ||||
|   if test -n "$patch" ; then | ||||
|     patch_sources "$tgt" "$only_build" | ||||
|   elif test -n "$pvs_install" ; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Justin M. Keyes
					Justin M. Keyes