forked from apache/tvm-ffi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
29 lines (29 loc) · 829 Bytes
/
.clang-tidy
File metadata and controls
29 lines (29 loc) · 829 Bytes
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
# -clang-analyzer-unix.Malloc is disabled due to false positives
Checks: >
clang-diagnostic-*,
clang-analyzer-*,
modernize-*,
bugprone-*,
performance-*,
portability-*,
google-*,
-modernize-use-trailing-return-type,
-modernize-concat-nested-namespaces,
-modernize-use-auto,
-modernize-use-nodiscard,
-modernize-return-braced-init-list,
-modernize-avoid-c-arrays,
-bugprone-easily-swappable-parameters,
-google-build-using-namespace,
-performance-enum-size,
-clang-analyzer-unix.Malloc,
-performance-avoid-endl
WarningsAsErrors: '*'
HeaderFilterRegex: '.*(include/tvm/ffi|src/ffi)/.*\.h$'
HeaderFileExtensions: ['h']
ImplementationFileExtensions: ['cc']
CheckOptions:
- key: misc-include-cleaner.UnusedIncludes
value: 'true'
- key: misc-include-cleaner.MissingIncludes
value: 'true'