forked from clshortfuse/renodx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
51 lines (50 loc) · 1.97 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# https://clang.llvm.org/extra/clang-tidy/checks/list.html
---
Checks:
- bug-prone-*
- cppcoreguidelines-
- google-*
- llvm-*
- misc-*
- modernize-*
- performance-*
- portability-*
- readability-*
- -llvm-header-guard
- -llvm-include-order
- -modernize-avoid-c-arrays
- -modernize-use-trailing-return-type
- -misc-include-cleaner
- -misc-non-private-member-variables-in-classes
- -misc-unused-parameters
- -performance-no-int-to-ptr
- -readability-function-cognitive-complexity
- -readability-magic-numbers
- -readability-uppercase-literal-suffix
- -readability-identifier-length
CheckOptions:
readability-braces-around-statements.ShortStatementLines: 1
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.ClassConstantCase: UPPER_CASE
readability-identifier-naming.ClassMemberCase: lower_case
readability-identifier-naming.ClassMemberSuffix: _
readability-identifier-naming.ClassMethodCase: CamelCase
readability-identifier-naming.ConstantCase: UPPER_CASE
readability-identifier-naming.ConstantMemberCase: UPPER_CASE
readability-identifier-naming.ConstantParameterCase: lower_case
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.FunctionCase: CamelCase
readability-identifier-naming.GlobalFunctionCase: CamelCase
readability-identifier-naming.LocalVariableCase: lower_case
readability-identifier-naming.LocalConstantCase: lower_case
readability-identifier-naming.MethodCase: CamelCase
readability-identifier-naming.MemberCase: lower_case
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.ParameterCase: lower_case
readability-identifier-naming.StaticConstantCase: UPPER_CASE
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.VariableCase: lower_case
WarningsAsErrors: ""
HeaderFilterRegex: ".*.hpp"
HeaderFileExtensions: ["", "h", "hh", "hpp", "hxx"]
ImplementationFileExtensions: ["c", "cc", "cpp", "cxx"]