forked from hiruna72/slow5-dorado
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
18 lines (16 loc) · 825 Bytes
/
.clang-tidy
File metadata and controls
18 lines (16 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Disable all default warnings, then enable only the ones we want to check for.
Checks: '-*,
fuchsia-default-arguments-declarations,
performance-*,
-performance-enum-size,
'
WarningsAsErrors: '*'
# clang-tidy's regex doesn't support negative lookahead, so we have to list all the places to
# check rather than "not 3rdparty" -_-
HeaderFilterRegex: 'dorado/(alignment|api|basecall|cli|compat|correct|data_loader|demux|devtools|file_info|hts_utils|modbase|model_downloader|models|polish|poly_tail|read_pipeline|splitter|summary|torch_utils|utils)'
# When llvm-19 becomes available we might be able to switch to the following, though in testing
# it seems like this skips some of our headers.
# ExcludeHeaderFilterRegex: '3rdparty'
CheckOptions:
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: 0