forked from vlasky/sqlite-vec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
44 lines (40 loc) · 1.14 KB
/
.clang-tidy
File metadata and controls
44 lines (40 loc) · 1.14 KB
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
---
# clang-tidy configuration for sqlite-vec
# See: https://clang.llvm.org/extra/clang-tidy/
Checks: >
-*,
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
misc-*,
performance-*,
portability-*,
readability-*,
-readability-identifier-length,
-readability-magic-numbers,
-readability-function-cognitive-complexity,
-misc-no-recursion,
-cert-dcl37-c,
-cert-dcl51-cpp,
-readability-isolate-declaration,
-readability-identifier-naming,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
# Don't treat warnings as errors (informational only)
WarningsAsErrors: ''
# Header filter (analyze headers in this project)
HeaderFilterRegex: '.*sqlite-vec\.h'
# Check options
CheckOptions:
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-function-size.LineThreshold
value: '200'
- key: readability-function-size.StatementThreshold
value: '150'
- key: cppcoreguidelines-avoid-do-while.IgnoreMacros
value: 'true'