mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add clang-tidy config
This commit is contained in:
parent
ea3c34a082
commit
55825570a6
@ -544,7 +544,7 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
CMAKE_OPTIONS: -DSANITIZE=address
|
CMAKE_OPTIONS: -DSANITIZE=address -DCMAKE_CXX_CLANG_TIDY=clang-tidy
|
||||||
MAKEFLAGS: -j 3
|
MAKEFLAGS: -j 3
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
19
.clang-tidy
Normal file
19
.clang-tidy
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Checks: >
|
||||||
|
bugprone-*,
|
||||||
|
cert-*,
|
||||||
|
-cert-err58-cpp,
|
||||||
|
clang-analyzer-*,
|
||||||
|
google-global-names-in-headers,
|
||||||
|
google-runtime-int,
|
||||||
|
misc-*,
|
||||||
|
-misc-non-private-member-variables-in-classes,
|
||||||
|
performance-*,
|
||||||
|
portability-*,
|
||||||
|
readability-*,
|
||||||
|
-readability-braces-around-statements,
|
||||||
|
-readability-implicit-bool-conversion,
|
||||||
|
-readability-magic-numbers,
|
||||||
|
-readability-uppercase-literal-suffix,
|
||||||
|
|
||||||
|
WarningsAsErrors: '*'
|
||||||
|
FormatStyle: file
|
Loading…
Reference in New Issue
Block a user