-
Notifications
You must be signed in to change notification settings - Fork 18
/
.clangd
45 lines (43 loc) · 1.37 KB
/
.clangd
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
CompileFlags:
Add:
- "-I../include"
- "-xc"
- "-std=c11"
Diagnostics:
UnusedIncludes: Strict
MissingIncludes: Strict
ClangTidy:
Add:
- bugprone-*
- cert-*
- clang-*
- concurrency-*
- google-*
- misc-*
- modernize-*
- performance-*
- portability-*
- readability-*
Remove:
- misc-no-recursion
- readability-isolate-declaration
- readability-identifier-length
- readability-else-after-return
- readability-magic-numbers
- readability-uppercase-literal-suffix
- readability-function-cognitive-complexity
- google-readability-todo
- bugprone-sizeof-expression
- bugprone-easily-swappable-parameters
- bugprone-switch-missing-default-case
- modernize-macro-to-enum
CheckOptions:
readability-identifier-naming.StructCase: lower_case
readability-identifier-naming.StructPrefix: cag_
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.FunctionPrefix: cag_
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.MacroDefinitionPrefix: CAG_
readability-identifier-naming.EnumConstantCase: UPPER_CASE
readability-identifier-naming.EnumConstantPrefix: CAG_