-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-tidy
25 lines (25 loc) · 1.07 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,bugprone-*,llvm-*,modernize-*,performance-*,portability-*,readability-*,misc-*,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,-bugprone-easily-swappable-parameters,-llvm-header-guard,-modernize-use-std-print,-modernize-avoid-c-arrays,-readability-braces-around-statements,-readability-identifier-length,-misc-no-recursion,-misc-unused-parameters,-misc-use-anonymous-namespace'
WarningsAsErrors: 'clang-analyzer-core.*,clang-analyzer-unix.*,readability-inconsistent-declaration-parameter-name,clang-analyzer-deadcode.*,bugprone-suspicious-include,clang-diagnostic-sometimes-uninitialized'
HeaderFileExtensions:
- ''
- h
- hh
- hpp
- hxx
- in
ImplementationFileExtensions:
- c
- cc
- cpp
- cxx
- in
HeaderFilterRegex: ''
FormatStyle: file
User: clang-tidy
SystemHeaders: false
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: '40'
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: '_POSIX_C_SOURCE;_DEFAULT_SOURCE'