-
Notifications
You must be signed in to change notification settings - Fork 7
/
.clang-tidy
36 lines (36 loc) · 1.83 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
26
27
28
29
30
31
32
33
34
35
36
---
Checks: '
*,
-bugprone-easily-swappable-parameters,
-llvm-header-guard,-altera-*,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-llvmlibc-restrict-system-libc-headers,
-misc-no-recursion,
-cppcoreguidelines-avoid-non-const-global-variables,
-bugprone-signal-handler,
-cert-sig30-c,
-cert-msc54-cpp,
-misc-include-cleaner
'
CheckOptions:
- { key: readability-identifier-naming.ConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.EnumCase, value: lower_case }
- { key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.GlobalPointerCase, value: lower_case }
- { key: readability-identifier-naming.GlobalVariableCase, value: lower_case }
- { key: readability-identifier-naming.LocalConstantCase, value: lower_case }
- { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.StructCase, value: lower_case }
- { key: readability-identifier-naming.TypedefCase, value: lower_case }
- { key: readability-identifier-naming.TypedefSuffix, value: _t }
- { key: readability-identifier-naming.UnionCase, value: lower_case }
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-length.IgnoredParameterNames, value: 'in|on|at|fd' }
- { key: readability-identifier-length.IgnoredVariableNames, value: 'fd|ip|IP' }
- { key: concurrency-mt-unsafe.FunctionSet, value: "glibc"}
WarningsAsErrors: '*'
HeaderFilterRegex: 'cio_.*'
FormatStyle: file
---