-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.clang-tidy
More file actions
31 lines (29 loc) · 867 Bytes
/
.clang-tidy
File metadata and controls
31 lines (29 loc) · 867 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
30
31
---
InheritParentConfig: true
ExtraArgs: ['-v']
FormatStyle: file
UseColor: true
WarningsAsErrors: '*'
HeaderFilterRegex: 'optree/.*$'
# NOTE: there must be no spaces before the '-', so put the comma last.
Checks: |
bugprone-*,
-bugprone-easily-swappable-parameters,
clang-analyzer-*,
cppcoreguidelines-*,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,
hicpp-*,
misc-*,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-transparent-functors,
performance-*,
readability-*,
-readability-redundant-inline-specifier,
-readability-redundant-member-init,
-readability-identifier-length,
-readability-use-concise-preprocessor-directives,
CheckOptions:
misc-include-cleaner.IgnoreHeaders: 'python.*/.*;pybind11/.*;optree/.*'