-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.clang-tidy
More file actions
40 lines (36 loc) · 1.12 KB
/
.clang-tidy
File metadata and controls
40 lines (36 loc) · 1.12 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
Checks: >
-*,
bugprone-*,
misc-const-correctness,
performance-*,
modernize-*,
readability-misleading-indentation,
readability-redundant-smartptr-get,
-bugprone-easily-swappable-parameters,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
-modernize-type-traits,
-modernize-use-auto,
-modernize-use-nodiscard,
-modernize-return-braced-init-list,
-performance-enum-size,
-readability-braces-around-statements,
# These warnings have determined to be critical and are as such treated as errors
WarningsAsErrors: >
clang-analyzer-*,
bugprone-use-after-move,
bugprone-dangling-handle,
bugprone-infinite-loop,
bugprone-narrowing-conversions,
bugprone-undefined-memory-manipulation,
bugprone-move-forwarding-reference,
bugprone-incorrect-roundings,
bugprone-sizeof-expression,
bugprone-string-literal-with-embedded-nul,
bugprone-suspicious-memset-usage,
HeaderFilterRegex: '.*/(include/livekit|src)/.*\.(h|hpp)$'
ExcludeHeaderFilterRegex: '(.*/src/tests/.*)|(.*/_deps/.*)|(.*/build-[^/]*/.*)'
FormatStyle: file
CheckOptions:
- key: modernize-use-nullptr.NullMacros
value: 'NULL'