mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
Merge pull request #8127 from jamessan/update-pvs-headers
Add missing PVS headers to new files
This commit is contained in:
commit
f5b0f5e17f
@ -343,13 +343,15 @@ run_analysis() {(
|
|||||||
|
|
||||||
cd "$tgt"
|
cd "$tgt"
|
||||||
|
|
||||||
|
# pvs-studio-analyzer exits with a non-zero exit code when there are detected
|
||||||
|
# errors, so ignore its return
|
||||||
pvs-studio-analyzer \
|
pvs-studio-analyzer \
|
||||||
analyze \
|
analyze \
|
||||||
--threads "$(get_jobs_num)" \
|
--threads "$(get_jobs_num)" \
|
||||||
--output-file PVS-studio.log \
|
--output-file PVS-studio.log \
|
||||||
--verbose \
|
--verbose \
|
||||||
--file build/compile_commands.json \
|
--file build/compile_commands.json \
|
||||||
--sourcetree-root .
|
--sourcetree-root . || true
|
||||||
|
|
||||||
plog-converter -t xml -o PVS-studio.xml PVS-studio.log
|
plog-converter -t xml -o PVS-studio.xml PVS-studio.log
|
||||||
plog-converter -t errorfile -o PVS-studio.err PVS-studio.log
|
plog-converter -t errorfile -o PVS-studio.err PVS-studio.log
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
||||||
|
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# define Boolean CFBoolean // Avoid conflict with API's Boolean
|
# define Boolean CFBoolean // Avoid conflict with API's Boolean
|
||||||
# include <CoreFoundation/CFLocale.h>
|
# include <CoreFoundation/CFLocale.h>
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
||||||
|
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
||||||
|
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||||
|
|
||||||
#include "nvim/viml/parser/parser.h"
|
#include "nvim/viml/parser/parser.h"
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user