Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
df0f7f2b
Unverified
Commit
df0f7f2b
authored
Mar 17, 2019
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
👷
overworked clang-tidy target
parent
9f26dac9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
5 deletions
+27
-5
.clang-tidy
.clang-tidy
+23
-0
Makefile
Makefile
+4
-5
No files found.
.clang-tidy
0 → 100644
View file @
df0f7f2b
Checks: '-*,
bugprone-*,
cert-*,
clang-analyzer-*,
google-*,
-google-runtime-references,
hicpp-*,
-hicpp-no-array-decay,
-hicpp-uppercase-literal-suffix,
misc-*,
-misc-non-private-member-variables-in-classes,
llvm-*,
-llvm-header-guard,
modernize-*,
performance-*,
portability-*,
readability-*,
-readability-magic-numbers,
-readability-uppercase-literal-suffix'
CheckOptions:
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
value: 1
Makefile
View file @
df0f7f2b
...
...
@@ -192,9 +192,11 @@ pedantic_gcc:
-Wdouble-promotion
\
-Wduplicated-branches
\
-Wduplicated-cond
\
-Weffc++
\
-Wempty-body
\
-Wendif-labels
\
-Wenum-compare
\
-Wexpansion-to-defined
\
-Werror
\
-Wextra
\
-Wextra-semi
\
...
...
@@ -249,13 +251,9 @@ pedantic_gcc:
-Wmultistatement-macros
\
-Wnarrowing
\
-Wno-deprecated-declarations
\
-Wno-effc++
\
-Wno-expansion-to-defined
\
-Wno-ignored-qualifiers
\
-Wno-long-long
\
-Wno-namespaces
\
-Wno-padded
\
-Wno-switch-default
\
-Wno-switch-enum
\
-Wno-system-headers
\
-Wno-templates
\
...
...
@@ -332,6 +330,7 @@ pedantic_gcc:
-Wsuggest-override
\
-Wswitch
\
-Wswitch-bool
\
-Wswitch-default
\
-Wswitch-unreachable
\
-Wsync-nand
\
-Wsynth
\
...
...
@@ -457,7 +456,7 @@ cpplint:
third_party/cpplint/cpplint.py
--filter
=
-whitespace
,-legal,-readability/alt_tokens,-runtime/references,-runtime/explicit
--quiet
--recursive
include
clang_tidy
:
$(COMPILER_DIR)
/clang-tidy
-checks
=
'-*, readability-*, -readability-magic-numbers, -readability-uppercase-literal-suffix, modernize-*, bugprone-*, performance-*, clang-analyzer-*, portability-*, cert-*, hicpp-*, -hicpp-no-array-decay, -hicpp-uppercase-literal-suffix, google-*, -google-runtime-references'
$(SRCS)
--
-Iinclude
-std
=
c++11
$(COMPILER_DIR)
/clang-tidy
$(SRCS)
--
-Iinclude
-std
=
c++11
pvs_studio
:
rm
-fr
pvs_studio_build
...
...
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