Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
7f6ea47b
Unverified
Commit
7f6ea47b
authored
Jul 16, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔧
adjust analysis targets
parent
4c59d6aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
Makefile
+4
-4
No files found.
Makefile
View file @
7f6ea47b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
##########################################################################
##########################################################################
# directory to recent compiler binaries
# directory to recent compiler binaries
COMPILER_DIR
=
/
Users/niels/Documents/projects/compilers/local
/bin
COMPILER_DIR
=
/
usr/local/opt/llvm
/bin
# find GNU sed to use `-i` parameter
# find GNU sed to use `-i` parameter
SED
:=
$(
shell
command
-v
gsed
||
which
sed
)
SED
:=
$(
shell
command
-v
gsed
||
which
sed
)
...
@@ -484,13 +484,13 @@ cpplint:
...
@@ -484,13 +484,13 @@ cpplint:
# call Clang-Tidy <https://clang.llvm.org/extra/clang-tidy/>
# call Clang-Tidy <https://clang.llvm.org/extra/clang-tidy/>
clang_tidy
:
clang_tidy
:
$(COMPILER_DIR)
/clang-tidy
$(
AMALGAMATED_FILE
)
--
-Iinclude
-std
=
c++11
$(COMPILER_DIR)
/clang-tidy
$(
SRCS
)
--
-Iinclude
-std
=
c++11
# call PVS-Studio Analyzer <https://www.viva64.com/en/pvs-studio/>
# call PVS-Studio Analyzer <https://www.viva64.com/en/pvs-studio/>
pvs_studio
:
pvs_studio
:
rm
-fr
pvs_studio_build
rm
-fr
pvs_studio_build
mkdir
pvs_studio_build
mkdir
pvs_studio_build
cd
pvs_studio_build
;
cmake ..
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
On
cd
pvs_studio_build
;
cmake ..
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
On
-DJSON_MultipleHeaders
=
ON
cd
pvs_studio_build
;
pvs-studio-analyzer analyze
-j
10
cd
pvs_studio_build
;
pvs-studio-analyzer analyze
-j
10
cd
pvs_studio_build
;
plog-converter
-a
'GA:1,2;64:1;CS'
-t
fullhtml PVS-Studio.log
-o
pvs
cd
pvs_studio_build
;
plog-converter
-a
'GA:1,2;64:1;CS'
-t
fullhtml PVS-Studio.log
-o
pvs
open pvs_studio_build/pvs/index.html
open pvs_studio_build/pvs/index.html
...
@@ -499,7 +499,7 @@ pvs_studio:
...
@@ -499,7 +499,7 @@ pvs_studio:
infer
:
infer
:
rm
-fr
infer_build
rm
-fr
infer_build
mkdir
infer_build
mkdir
infer_build
cd
infer_build
;
infer compile
--
cmake ..
;
infer run
--
make
-j
4
cd
infer_build
;
infer compile
--
cmake ..
-DJSON_MultipleHeaders
=
ON
;
infer run
--
make
-j
4
# call OCLint <http://oclint.org> static analyzer
# call OCLint <http://oclint.org> static analyzer
oclint
:
oclint
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment