forked from mpoeter/xenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
35 lines (35 loc) · 1.36 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
---
Checks: 'clang-diagnostic-*,
clang-analyzer-*,
readability-*,
-readability-magic-numbers,
-readability-named-parameter,
-readability-redundant-member-init,
-readability-isolate-declaration,
modernize-*,
-modernize-avoid-c-arrays,
-modernize-use-trailing-return-type,
bugprone-*,
misc-*,
google-*,
-google-readability-avoid-underscore-in-googletest-name,
-google-readability-todo,
-google-runtime-references,
llvm-*,
-llvm-header-guard,
fuchsia-restrict-system-includes,
'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*\.hpp$'
FormatStyle: 'file'
CheckOptions:
- { key: google-runtime-int.TypeSufix, value: '_t' }
- { key: fuchsia-restrict-system-includes.Includes, value: '*,-stdint.h,-stdbool.h,-assert.h' }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: _ }
- { key: readability-identifier-naming.StructCase, value: lower_case }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.GlobalConstantCase, value: lower_case }
- { key: readability-braces-around-statements.ShortStatementLines, value: 2 }