-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
56 lines (56 loc) · 1.9 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
52
53
54
55
56
---
Checks: "-abseil-*,
bugprone-*,
-boost-*,
-cert-*,
clang-diagnostic-*,
-clang-diagnostic-documentation,
clang-analyzer-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-darwin-*,
-fuchsia-*,
-google-*,
-hicpp-*,
-linuxkernel-*,
-llvm-*,
misc-*,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
-modernize-use-auto,
-mpi-*,
-objc-*,
-openmp-*,
performance-*,
-portability-*,
readability-*,
-readability-function-cognitive-complexity,
-readability-function-size,
-readability-uppercase-literal-suffix,
-readability-magic-numbers"
WarningsAsErrors: '*'
HeaderFilterRegex: 'simplnx/.*\.hpp'
FormatStyle: file
CheckOptions:
cppcoreguidelines-macro-usage.AllowedRegexp: 'SIMPLNX_EXPORT|SIMPLNX_NO_EXPORT|SIMPLNX_DEPRECATED'
readability-identifier-naming.IgnoreMainLikeFunctions: 'false'
readability-identifier-naming.PrivateMemberPrefix: 'm_'
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.ClassMethodCase: camelBack
readability-identifier-naming.PrivateMember: CamelCase
readability-identifier-naming.PublicMemberCase: CamelCase
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.FunctionCase: camelBack
readability-identifier-naming.VariableCase: camelBack
readability-identifier-naming.GlobalVariableCase: CamelCase
readability-identifier-naming.GlobalConstantCase: CamelCase
readability-identifier-naming.GlobalConstantPrefix: 'k_'
readability-identifier-naming.GlobalFunctionCase: CamelCase
readability-identifier-naming.LocalPointerCase: camelBack
readability-identifier-naming.LocalPointerSuffix: 'Ptr'
readability-identifier-naming.TypeAliasCase: CamelCase
readability-identifier-naming.TypeAliasSuffix: 'Type'
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
...